#D04EA1#D04EA1

#D04EA1 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.3% C 0.186 H 344.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#D04EA1
RGBrgb(208, 78, 161)
HSLhsl(322, 58%, 56%)
HSVhsv(322, 63%, 82%)
CMYKcmyk(0%, 62.5%, 22.6%, 18.4%)
CIE-LABlab(53.42, 59.73, -18.60)
CIE-LCHlch(53.42, 62.56, 342.71°)
OKLaboklab(62.29% 0.1795 -0.0494)
OKLCHoklch(62.29% 0.186 344.6)
XYZxyz(35.1710, 21.4352, 35.9964)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04EA1 #4ED07D
analogous
#BE4ED0 #D04EA1 #D04E60
triadic
#D04EA1 #A1D04E #4EA1D0
tetradic
#D04EA1 #D0BE4E #4ED07D #4E60D0
square
#D04EA1 #D0BE4E #4ED07D #4E60D0
split-complementary
#D04EA1 #60D04E #4ED0BE
monochromatic
#81225F #B22F82 #D04EA1 #DD7EBB #EAAFD4

Accessibility & contrast

On white

3.97
#D04EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#D04EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04EA1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04EA1#FFFFFF#000000##000000
##D04EA11.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A4
Deuteranopia (green-blind)
#80889E
Tritanopia (blue-blind)
#DD4D71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d04ea1;
/* rgb */ color: rgb(208, 78, 161);
/* oklch */ color: oklch(62.3% 0.186 344.6);
Tailwind
colors: {
  custom: {
    50: '#e287bd',
    500: '#d04ea1',
    950: '#000000',
  },
}
SCSS
$custom: #d04ea1;
$custom-light: #e287bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ea1",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 321.692,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62293,
    "c": 0.18622,
    "h": 344.6
  },
  "luminance": 0.21432
}

Semantic roles & 50–950 ramp

primary
#D04EA1
secondary
#A2D8B5
accent
#E17E47
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D04EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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