#D04EAF#D04EAF

#D04EAF is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.9% C 0.195 H 339.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#D04EAF
RGBrgb(208, 78, 175)
HSLhsl(315, 58%, 56%)
HSVhsv(315, 63%, 82%)
CMYKcmyk(0%, 62.5%, 15.9%, 18.4%)
CIE-LABlab(53.98, 61.71, -25.92)
CIE-LCHlch(53.98, 66.93, 337.21°)
OKLaboklab(62.89% 0.1824 -0.0699)
OKLCHoklch(62.89% 0.195 339)
XYZxyz(36.4754, 21.9570, 42.8662)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04EAF #4ED06F
analogous
#B04ED0 #D04EAF #D04E6E
triadic
#D04EAF #AFD04E #4EAFD0
tetradic
#D04EAF #D0B04E #4ED06F #4E6ED0
square
#D04EAF #D0B04E #4ED06F #4E6ED0
split-complementary
#D04EAF #6ED04E #4ED0B0
monochromatic
#812269 #B22F91 #D04EAF #DD7EC5 #EAAFDB

Accessibility & contrast

On white

3.90
#D04EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#D04EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04EAF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04EAF#FFFFFF#000000##000000
##D04EAF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#7B89AC
Tritanopia (blue-blind)
#DB5277
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d04eaf;
/* rgb */ color: rgb(208, 78, 175);
/* oklch */ color: oklch(62.9% 0.195 339.0);
Tailwind
colors: {
  custom: {
    50: '#e287c7',
    500: '#d04eaf',
    950: '#000000',
  },
}
SCSS
$custom: #d04eaf;
$custom-light: #e287c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d04eaf",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 315.231,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62886,
    "c": 0.19536,
    "h": 339
  },
  "luminance": 0.21954
}

Semantic roles & 50–950 ramp

primary
#D04EAF
secondary
#A2D8B0
accent
#E16E47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D04EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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