#CF408D#CF408D

#CF408D is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.9% C 0.193 H 351.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CF408D
RGBrgb(207, 64, 141)
HSLhsl(328, 60%, 53%)
HSVhsv(328, 69%, 81%)
CMYKcmyk(0%, 69.1%, 31.9%, 18.8%)
CIE-LABlab(50.52, 62.46, -11.16)
CIE-LCHlch(50.52, 63.45, 349.87°)
OKLaboklab(59.89% 0.1907 -0.0289)
OKLCHoklch(59.89% 0.193 351.4)
XYZxyz(32.3750, 18.8589, 27.1293)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF408D #40CF82
analogous
#C940CF #CF408D #CF4045
triadic
#CF408D #8DCF40 #408DCF
tetradic
#CF408D #CFC940 #40CF82 #4045CF
square
#CF408D #CFC940 #40CF82 #4045CF
split-complementary
#CF408D #45CF40 #40CFC9
monochromatic
#771E4E #A82A6E #CF408D #DB71AA #E8A2C7

Accessibility & contrast

On white

4.40
#CF408D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CF408D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF408D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF408D#FFFFFF#000000##000000
##CF408D1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#57688F
Deuteranopia (green-blind)
#7F828A
Tritanopia (blue-blind)
#DE3761
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf408d;
/* rgb */ color: rgb(207, 64, 141);
/* oklch */ color: oklch(59.9% 0.193 351.4);
Tailwind
colors: {
  custom: {
    50: '#e27fae',
    500: '#cf408d',
    950: '#000000',
  },
}
SCSS
$custom: #cf408d;
$custom-light: #e27fae;
$custom-dark: #000000;
JSON
{
  "hex": "#cf408d",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 327.692,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59889,
    "c": 0.1929,
    "h": 351.4
  },
  "luminance": 0.18855
}

Semantic roles & 50–950 ramp

primary
#CF408D
secondary
#97D4B3
accent
#E38E45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF408D

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

Preview Lab → · Contrast checker → · Palette generator →

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