#D04DB2#D04DB2

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

Color values

HEX#D04DB2
RGBrgb(208, 77, 178)
HSLhsl(314, 58%, 56%)
HSVhsv(314, 63%, 82%)
CMYKcmyk(0%, 63%, 14.4%, 18.4%)
CIE-LABlab(53.96, 62.56, -27.71)
CIE-LCHlch(53.96, 68.42, 336.11°)
OKLaboklab(62.91% 0.1842 -0.075)
OKLCHoklch(62.91% 0.199 337.9)
XYZxyz(36.7028, 21.9351, 44.4117)
Luminance0.2193 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04DB2 #4DD06B
analogous
#AC4DD0 #D04DB2 #D04D70
triadic
#D04DB2 #B2D04D #4DB2D0
tetradic
#D04DB2 #D0AC4D #4DD06B #4D70D0
square
#D04DB2 #D0AC4D #4DD06B #4D70D0
split-complementary
#D04DB2 #70D04D #4DD0AC
monochromatic
#81226B #B12F93 #D04DB2 #DD7DC7 #EAAEDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04DB2#FFFFFF#000000##000000
##D04DB21.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)
#5174B5
Deuteranopia (green-blind)
#7A88AF
Tritanopia (blue-blind)
#DB5279
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d04db2;
/* rgb */ color: rgb(208, 77, 178);
/* oklch */ color: oklch(62.9% 0.199 337.9);
Tailwind
colors: {
  custom: {
    50: '#e287c9',
    500: '#d04db2',
    950: '#000000',
  },
}
SCSS
$custom: #d04db2;
$custom-light: #e287c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d04db2",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 313.74,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62911,
    "c": 0.19883,
    "h": 337.9
  },
  "luminance": 0.21932
}

Semantic roles & 50–950 ramp

primary
#D04DB2
secondary
#A1D8AE
accent
#E16A46
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D04DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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