#CF408F#CF408F

#CF408F is a mid, vivid pink. Relative luminance 0.189; OKLCH L 60.0% C 0.194 H 350.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CF408F
RGBrgb(207, 64, 143)
HSLhsl(327, 60%, 53%)
HSVhsv(327, 69%, 81%)
CMYKcmyk(0%, 69.1%, 30.9%, 18.8%)
CIE-LABlab(50.59, 62.69, -12.25)
CIE-LCHlch(50.59, 63.88, 348.95°)
OKLaboklab(59.96% 0.1913 -0.0319)
OKLCHoklch(59.96% 0.194 350.5)
XYZxyz(32.5251, 18.9190, 27.9201)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF408F #40CF80
analogous
#C740CF #CF408F #CF4047
triadic
#CF408F #8FCF40 #408FCF
tetradic
#CF408F #CFC740 #40CF80 #4047CF
square
#CF408F #CFC740 #40CF80 #4047CF
split-complementary
#CF408F #47CF40 #40CFC7
monochromatic
#771E4F #A82A6F #CF408F #DB71AC #E8A2C8

Accessibility & contrast

On white

4.39
#CF408F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CF408F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF408F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF408F#FFFFFF#000000##000000
##CF408F1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#566891
Deuteranopia (green-blind)
#7F828C
Tritanopia (blue-blind)
#DE3862
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf408f;
/* rgb */ color: rgb(207, 64, 143);
/* oklch */ color: oklch(60.0% 0.194 350.5);
Tailwind
colors: {
  custom: {
    50: '#e27faf',
    500: '#cf408f',
    950: '#000000',
  },
}
SCSS
$custom: #cf408f;
$custom-light: #e27faf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf408f",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 326.853,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59964,
    "c": 0.19388,
    "h": 350.5
  },
  "luminance": 0.18915
}

Semantic roles & 50–950 ramp

primary
#CF408F
secondary
#97D4B2
accent
#E38C45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF408F

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

Preview Lab → · Contrast checker → · Palette generator →

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