#D04EA8#D04EA8

#D04EA8 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.6% C 0.191 H 341.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#D04EA8
RGBrgb(208, 78, 168)
HSLhsl(318, 58%, 56%)
HSVhsv(318, 63%, 82%)
CMYKcmyk(0%, 62.5%, 19.2%, 18.4%)
CIE-LABlab(53.70, 60.70, -22.28)
CIE-LCHlch(53.70, 64.66, 339.84°)
OKLaboklab(62.58% 0.1811 -0.0597)
OKLCHoklch(62.58% 0.191 341.8)
XYZxyz(35.8056, 21.6891, 39.3389)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04EA8 #4ED076
analogous
#B74ED0 #D04EA8 #D04E67
triadic
#D04EA8 #A8D04E #4EA8D0
tetradic
#D04EA8 #D0B74E #4ED076 #4E67D0
square
#D04EA8 #D0B74E #4ED076 #4E67D0
split-complementary
#D04EA8 #67D04E #4ED0B7
monochromatic
#812264 #B22F89 #D04EA8 #DD7EC0 #EAAFD8

Accessibility & contrast

On white

3.93
#D04EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#D04EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04EA8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04EA8#FFFFFF#000000##000000
##D04EA81.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5773AB
Deuteranopia (green-blind)
#7E88A5
Tritanopia (blue-blind)
#DC5074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d04ea8;
/* rgb */ color: rgb(208, 78, 168);
/* oklch */ color: oklch(62.6% 0.191 341.8);
Tailwind
colors: {
  custom: {
    50: '#e287c2',
    500: '#d04ea8',
    950: '#000000',
  },
}
SCSS
$custom: #d04ea8;
$custom-light: #e287c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ea8",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 318.462,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62583,
    "c": 0.19065,
    "h": 341.8
  },
  "luminance": 0.21686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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