#CD408F#CD408F

#CD408F is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.7% C 0.192 H 350.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CD408F
RGBrgb(205, 64, 143)
HSLhsl(326, 59%, 53%)
HSVhsv(326, 69%, 80%)
CMYKcmyk(0%, 68.8%, 30.2%, 19.6%)
CIE-LABlab(50.25, 62.15, -12.79)
CIE-LCHlch(50.25, 63.45, 348.37°)
OKLaboklab(59.65% 0.1894 -0.0333)
OKLCHoklch(59.65% 0.192 350)
XYZxyz(31.9698, 18.6326, 27.8941)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD408F #40CD7E
analogous
#C440CD #CD408F #CD4048
triadic
#CD408F #8FCD40 #408FCD
tetradic
#CD408F #CDC440 #40CD7E #4048CD
square
#CD408F #CDC440 #40CD7E #4048CD
split-complementary
#CD408F #48CD40 #40CDC4
monochromatic
#741E4E #A52B6F #CD408F #DA71AB #E6A1C8

Accessibility & contrast

On white

4.44
#CD408F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CD408F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD408F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD408F#FFFFFF#000000##000000
##CD408F1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#556891
Deuteranopia (green-blind)
#7D818C
Tritanopia (blue-blind)
#DC3962
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd408f;
/* rgb */ color: rgb(205, 64, 143);
/* oklch */ color: oklch(59.7% 0.192 350.0);
Tailwind
colors: {
  custom: {
    50: '#e17faf',
    500: '#cd408f',
    950: '#000000',
  },
}
SCSS
$custom: #cd408f;
$custom-light: #e17faf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd408f",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 326.383,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59653,
    "c": 0.19232,
    "h": 350
  },
  "luminance": 0.18629
}

Semantic roles & 50–950 ramp

primary
#CD408F
secondary
#96D3B1
accent
#E28B46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD408F

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

Preview Lab → · Contrast checker → · Palette generator →

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