Skip to content

#E31CD2 Color

#E31CD2 is rgb(227, 28, 210) in RGB, hsl(305, 78%, 50%) in HSL, and about cmyk(0%, 88%, 7%, 11%) in CMYK. It has no registered color name of its own — the closest is Steel Pink (#CC33CC), visibly different at ΔE 10.74. Black text is the more readable choice on this background.

#E31CD2
HEX#E31CD2
RGBrgb(227, 28, 210)
HSLhsl(305, 78%, 50%)
HSVhsv(305, 88%, 89%)
CMYKcmyk(0%, 88%, 7%, 11%)
OKLCHoklch(63.9% 0.276 332.6)
LABlab(53.85% 81.42 -45.61)
LCHlch(53.85% 93.32 330.75)

What #E31CD2 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #E31CD2, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every pink in the library.

#E31CD2 Channel Values

How #E31CD2 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 227 · G 28 · B 2108-bit channels as sent to the display
HSLH 305° · S 78% · L 50%Easiest model for building lighter and darker variants
HSVH 305° · S 88% · V 89%Matches the picker in most design tools
CMYKC 0% · M 88% · Y 7% · K 11%Approximate ink mix; confirm with an ICC profile before printing
Luminance3.92:1 vs white · 5.36:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #E31CD2 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text3.92:1AA normal AA large AAA normal
TextBlack text5.36:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #E31CD2 in the contrast checker.

Colors That Go With #E31CD2

Pairings derived from color-wheel relationships. The complementary color sits opposite #E31CD2; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #E31CD2

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #E31CD2.

How #E31CD2 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#E31CD2
Protanopia#6969D2
Protanomaly#A854D2
Deuteranopia#8C8CCF
Deuteranomaly#B570D0
Tritanopia#D85555
Tritanomaly#DD4598
Achromatopsia#818181

Test a full palette in the color blindness simulator.

Using #E31CD2 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-e31cd2: #E31CD2;
CSS backgroundbackground-color: #E31CD2;
Tailwind configcolors: { 'color-e31cd2': '#E31CD2' }
SwiftUIColor(red: 0.890, green: 0.110, blue: 0.824)
Android XML<color name="color_e31cd2">#E31CD2</color>
SVG fillfill="#E31CD2"

More Pink Colors

#E31CD2 sits in the pink family. These are its neighbours across that family's full range, each with its own breakdown.

#E31CD2 Frequently Asked Questions

What color is #E31CD2?

#E31CD2 is a mid-tone pink — rgb(227, 28, 210) in RGB and hsl(305, 78%, 50%) in HSL. It carries no registered color name of its own; the closest named color is Steel Pink (#CC33CC), which is visibly different at a CIE76 distance of 10.74.

What is the RGB value of #E31CD2?

#E31CD2 is rgb(227, 28, 210) — red 227, green 28, and blue 210 on the 0-255 scale.

What is the CMYK value of #E31CD2?

#E31CD2 converts to approximately cmyk(0%, 88%, 7%, 11%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #E31CD2 be black or white?

Black text is the more readable choice. #E31CD2 scores 3.92:1 against white and 5.36:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #E31CD2 as a CSS color keyword?

No. #E31CD2 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is fuchsia (#FF00FF) at a CIE76 distance of 20.22, which is visibly different.

Open #E31CD2 in a Tool

Keep exploring: every pink in the color library, the guide to shades of pink, or the full color library.