#D04EA7#D04EA7

#D04EA7 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.5% C 0.190 H 342.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#D04EA7
RGBrgb(208, 78, 167)
HSLhsl(319, 58%, 56%)
HSVhsv(319, 63%, 82%)
CMYKcmyk(0%, 62.5%, 19.7%, 18.4%)
CIE-LABlab(53.66, 60.56, -21.76)
CIE-LCHlch(53.66, 64.35, 340.24°)
OKLaboklab(62.54% 0.1809 -0.0582)
OKLCHoklch(62.54% 0.19 342.2)
XYZxyz(35.7128, 21.6520, 38.8501)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04EA7 #4ED077
analogous
#B84ED0 #D04EA7 #D04E66
triadic
#D04EA7 #A7D04E #4EA7D0
tetradic
#D04EA7 #D0B84E #4ED077 #4E66D0
square
#D04EA7 #D0B84E #4ED077 #4E66D0
split-complementary
#D04EA7 #66D04E #4ED0B8
monochromatic
#812263 #B22F88 #D04EA7 #DD7EBF #EAAFD7

Accessibility & contrast

On white

3.94
#D04EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#D04EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04EA7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04EA7#FFFFFF#000000##000000
##D04EA71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#7E88A4
Tritanopia (blue-blind)
#DC4F74
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d04ea7;
/* rgb */ color: rgb(208, 78, 167);
/* oklch */ color: oklch(62.5% 0.190 342.2);
Tailwind
colors: {
  custom: {
    50: '#e287c1',
    500: '#d04ea7',
    950: '#000000',
  },
}
SCSS
$custom: #d04ea7;
$custom-light: #e287c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ea7",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 318.923,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62541,
    "c": 0.19,
    "h": 342.2
  },
  "luminance": 0.21649
}

Semantic roles & 50–950 ramp

primary
#D04EA7
secondary
#A2D8B3
accent
#E17747
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D04EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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