#D0408E#D0408E

#D0408E is a mid, vivid pink. Relative luminance 0.190; OKLCH L 60.1% C 0.194 H 351.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D0408E
RGBrgb(208, 64, 142)
HSLhsl(328, 61%, 53%)
HSVhsv(328, 69%, 82%)
CMYKcmyk(0%, 69.2%, 31.7%, 18.4%)
CIE-LABlab(50.73, 62.85, -11.43)
CIE-LCHlch(50.73, 63.88, 349.69°)
OKLaboklab(60.08% 0.1919 -0.0296)
OKLCHoklch(60.08% 0.194 351.2)
XYZxyz(32.7300, 19.0334, 27.5361)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0408E #40D082
analogous
#CA40D0 #D0408E #D04046
triadic
#D0408E #8ED040 #408ED0
tetradic
#D0408E #D0CA40 #40D082 #4046D0
square
#D0408E #D0CA40 #40D082 #4046D0
split-complementary
#D0408E #46D040 #40D0CA
monochromatic
#781E4F #A92A6F #D0408E #DC71AB #E8A2C8

Accessibility & contrast

On white

4.37
#D0408E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#D0408E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0408E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0408E#FFFFFF#000000##000000
##D0408E1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#576890
Deuteranopia (green-blind)
#80828B
Tritanopia (blue-blind)
#DF3761
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d0408e;
/* rgb */ color: rgb(208, 64, 142);
/* oklch */ color: oklch(60.1% 0.194 351.2);
Tailwind
colors: {
  custom: {
    50: '#e37faf',
    500: '#d0408e',
    950: '#000000',
  },
}
SCSS
$custom: #d0408e;
$custom-light: #e37faf;
$custom-dark: #000000;
JSON
{
  "hex": "#d0408e",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 327.5,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.19417,
    "h": 351.2
  },
  "luminance": 0.1903
}

Semantic roles & 50–950 ramp

primary
#D0408E
secondary
#97D5B3
accent
#E48D44
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D0408E

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

Preview Lab → · Contrast checker → · Palette generator →

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