#D04EB2#D04EB2

#D04EB2 is a light, vivid pink. Relative luminance 0.221; OKLCH L 63.0% C 0.197 H 337.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#D04EB2
RGBrgb(208, 78, 178)
HSLhsl(314, 58%, 56%)
HSVhsv(314, 63%, 82%)
CMYKcmyk(0%, 62.5%, 14.4%, 18.4%)
CIE-LABlab(54.11, 62.15, -27.47)
CIE-LCHlch(54.11, 67.95, 336.15°)
OKLaboklab(63.02% 0.1829 -0.0743)
OKLCHoklch(63.02% 0.197 337.9)
XYZxyz(36.7733, 22.0761, 44.4352)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04EB2 #4ED06C
analogous
#AD4ED0 #D04EB2 #D04E71
triadic
#D04EB2 #B2D04E #4EB2D0
tetradic
#D04EB2 #D0AD4E #4ED06C #4E71D0
square
#D04EB2 #D0AD4E #4ED06C #4E71D0
split-complementary
#D04EB2 #71D04E #4ED0AD
monochromatic
#81226B #B22F94 #D04EB2 #DD7EC7 #EAAFDC

Accessibility & contrast

On white

3.88
#D04EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#D04EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04EB2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04EB2#FFFFFF#000000##000000
##D04EB21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5275B5
Deuteranopia (green-blind)
#7A89AF
Tritanopia (blue-blind)
#DB5379
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d04eb2;
/* rgb */ color: rgb(208, 78, 178);
/* oklch */ color: oklch(63.0% 0.197 337.9);
Tailwind
colors: {
  custom: {
    50: '#e288c9',
    500: '#d04eb2',
    950: '#000000',
  },
}
SCSS
$custom: #d04eb2;
$custom-light: #e288c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d04eb2",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 313.846,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6302,
    "c": 0.19746,
    "h": 337.9
  },
  "luminance": 0.22073
}

Semantic roles & 50–950 ramp

primary
#D04EB2
secondary
#A2D8AE
accent
#E16A47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D04EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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