#E04CD1#E04CD1

#E04CD1 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.6% C 0.232 H 332.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#E04CD1
RGBrgb(224, 76, 209)
HSLhsl(306, 70%, 59%)
HSVhsv(306, 66%, 88%)
CMYKcmyk(0%, 66.1%, 6.7%, 12.2%)
CIE-LABlab(57.68, 71.64, -39.53)
CIE-LCHlch(57.68, 81.83, 331.11°)
OKLaboklab(66.55% 0.2055 -0.1084)
OKLCHoklch(66.55% 0.232 332.2)
XYZxyz(44.8336, 25.6231, 62.8937)
Luminance0.2562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04CD1 #4CE05B
analogous
#A54CE0 #E04CD1 #E04C87
triadic
#E04CD1 #D1E04C #4CD1E0
tetradic
#E04CD1 #E0A54C #4CE05B #4C87E0
square
#E04CD1 #E0A54C #4CE05B #4C87E0
split-complementary
#E04CD1 #87E04C #4CE0A5
monochromatic
#971A8B #CC23BA #E04CD1 #E980DE #F2B4EC

Accessibility & contrast

On white

3.43
#E04CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#E04CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04CD1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04CD1#FFFFFF#000000##000000
##E04CD11.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457DD5
Deuteranopia (green-blind)
#7992CD
Tritanopia (blue-blind)
#E95A88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #e04cd1;
/* rgb */ color: rgb(224, 76, 209);
/* oklch */ color: oklch(66.6% 0.232 332.2);
Tailwind
colors: {
  custom: {
    50: '#ed89df',
    500: '#e04cd1',
    950: '#000000',
  },
}
SCSS
$custom: #e04cd1;
$custom-light: #ed89df;
$custom-dark: #000000;
JSON
{
  "hex": "#e04cd1",
  "rgb": {
    "r": 224,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 306.081,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66555,
    "c": 0.23231,
    "h": 332.2
  },
  "luminance": 0.2562
}

Semantic roles & 50–950 ramp

primary
#E04CD1
secondary
#A7E1AD
accent
#ED4D3B
background
#FFF8FD
surface
#FEF0FB
border
#D6CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #E04CD1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E04CD1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva