#CF408C#CF408C

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

Color values

HEX#CF408C
RGBrgb(207, 64, 140)
HSLhsl(328, 60%, 53%)
HSVhsv(328, 69%, 81%)
CMYKcmyk(0%, 69.1%, 32.4%, 18.8%)
CIE-LABlab(50.49, 62.34, -10.61)
CIE-LCHlch(50.49, 63.24, 350.34°)
OKLaboklab(59.85% 0.1905 -0.0274)
OKLCHoklch(59.85% 0.192 351.8)
XYZxyz(32.3009, 18.8293, 26.7392)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF408C #40CF83
analogous
#CB40CF #CF408C #CF4044
triadic
#CF408C #8CCF40 #408CCF
tetradic
#CF408C #CFCB40 #40CF83 #4044CF
square
#CF408C #CFCB40 #40CF83 #4044CF
split-complementary
#CF408C #44CF40 #40CFCB
monochromatic
#771E4D #A82A6D #CF408C #DB71A9 #E8A2C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF408C#FFFFFF#000000##000000
##CF408C1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#57688E
Deuteranopia (green-blind)
#7F8289
Tritanopia (blue-blind)
#DE3660
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf408c;
/* rgb */ color: rgb(207, 64, 140);
/* oklch */ color: oklch(59.9% 0.192 351.8);
Tailwind
colors: {
  custom: {
    50: '#e27fad',
    500: '#cf408c',
    950: '#000000',
  },
}
SCSS
$custom: #cf408c;
$custom-light: #e27fad;
$custom-dark: #000000;
JSON
{
  "hex": "#cf408c",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 328.112,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59852,
    "c": 0.19241,
    "h": 351.8
  },
  "luminance": 0.18826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF408C

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

Preview Lab → · Contrast checker → · Palette generator →

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