#D0408C#D0408C

#D0408C is a mid, vivid pink. Relative luminance 0.190; OKLCH L 60.0% C 0.193 H 352.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#D0408C
RGBrgb(208, 64, 140)
HSLhsl(328, 61%, 53%)
HSVhsv(328, 69%, 82%)
CMYKcmyk(0%, 69.2%, 32.7%, 18.4%)
CIE-LABlab(50.66, 62.62, -10.34)
CIE-LCHlch(50.66, 63.46, 350.62°)
OKLaboklab(60.01% 0.1914 -0.0267)
OKLCHoklch(60.01% 0.193 352.1)
XYZxyz(32.5812, 18.9738, 26.7524)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0408C #40D084
analogous
#CC40D0 #D0408C #D04044
triadic
#D0408C #8CD040 #408CD0
tetradic
#D0408C #D0CC40 #40D084 #4044D0
square
#D0408C #D0CC40 #40D084 #4044D0
split-complementary
#D0408C #44D040 #40D0CC
monochromatic
#781E4D #A92A6D #D0408C #DC71AA #E8A2C7

Accessibility & contrast

On white

4.38
#D0408C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#D0408C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0408C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0408C#FFFFFF#000000##000000
##D0408C1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#57688E
Deuteranopia (green-blind)
#808289
Tritanopia (blue-blind)
#DF3660
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d0408c;
/* rgb */ color: rgb(208, 64, 140);
/* oklch */ color: oklch(60.0% 0.193 352.1);
Tailwind
colors: {
  custom: {
    50: '#e37fad',
    500: '#d0408c',
    950: '#000000',
  },
}
SCSS
$custom: #d0408c;
$custom-light: #e37fad;
$custom-dark: #000000;
JSON
{
  "hex": "#d0408c",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 328.333,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.19321,
    "h": 352.1
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#D0408C
secondary
#97D5B4
accent
#E48F44
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D0408C

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

Preview Lab → · Contrast checker → · Palette generator →

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