#CF408B#CF408B

#CF408B is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.8% C 0.192 H 352.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CF408B
RGBrgb(207, 64, 139)
HSLhsl(329, 60%, 53%)
HSVhsv(329, 69%, 81%)
CMYKcmyk(0%, 69.1%, 32.9%, 18.8%)
CIE-LABlab(50.45, 62.23, -10.07)
CIE-LCHlch(50.45, 63.03, 350.81°)
OKLaboklab(59.82% 0.1902 -0.0259)
OKLCHoklch(59.82% 0.192 352.2)
XYZxyz(32.2275, 18.7999, 26.3527)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF408B #40CF84
analogous
#CB40CF #CF408B #CF4043
triadic
#CF408B #8BCF40 #408BCF
tetradic
#CF408B #CFCB40 #40CF84 #4043CF
square
#CF408B #CFCB40 #40CF84 #4043CF
split-complementary
#CF408B #43CF40 #40CFCB
monochromatic
#771E4C #A82A6C #CF408B #DB71A9 #E8A2C6

Accessibility & contrast

On white

4.41
#CF408B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CF408B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF408B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF408B#FFFFFF#000000##000000
##CF408B1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#57688D
Deuteranopia (green-blind)
#808288
Tritanopia (blue-blind)
#DE3660
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf408b;
/* rgb */ color: rgb(207, 64, 139);
/* oklch */ color: oklch(59.8% 0.192 352.2);
Tailwind
colors: {
  custom: {
    50: '#e27fac',
    500: '#cf408b',
    950: '#000000',
  },
}
SCSS
$custom: #cf408b;
$custom-light: #e27fac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf408b",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 328.531,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59816,
    "c": 0.19194,
    "h": 352.2
  },
  "luminance": 0.18796
}

Semantic roles & 50–950 ramp

primary
#CF408B
secondary
#97D4B4
accent
#E39045
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF408B

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

Preview Lab → · Contrast checker → · Palette generator →

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