#CF408A#CF408A

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

Color values

HEX#CF408A
RGBrgb(207, 64, 138)
HSLhsl(329, 60%, 53%)
HSVhsv(329, 69%, 81%)
CMYKcmyk(0%, 69.1%, 33.3%, 18.8%)
CIE-LABlab(50.42, 62.11, -9.52)
CIE-LCHlch(50.42, 62.84, 351.29°)
OKLaboklab(59.78% 0.1899 -0.0245)
OKLCHoklch(59.78% 0.191 352.7)
XYZxyz(32.1548, 18.7708, 25.9696)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF408A #40CF85
analogous
#CD40CF #CF408A #CF4042
triadic
#CF408A #8ACF40 #408ACF
tetradic
#CF408A #CFCD40 #40CF85 #4042CF
square
#CF408A #CFCD40 #40CF85 #4042CF
split-complementary
#CF408A #42CF40 #40CFCD
monochromatic
#771E4C #A82A6B #CF408A #DB71A8 #E8A2C6

Accessibility & contrast

On white

4.42
#CF408A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CF408A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF408A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF408A#FFFFFF#000000##000000
##CF408A1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#58678C
Deuteranopia (green-blind)
#808187
Tritanopia (blue-blind)
#DE365F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf408a;
/* rgb */ color: rgb(207, 64, 138);
/* oklch */ color: oklch(59.8% 0.191 352.7);
Tailwind
colors: {
  custom: {
    50: '#e27fac',
    500: '#cf408a',
    950: '#000000',
  },
}
SCSS
$custom: #cf408a;
$custom-light: #e27fac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf408a",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 328.951,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59779,
    "c": 0.19147,
    "h": 352.7
  },
  "luminance": 0.18767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF408A

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

Preview Lab → · Contrast checker → · Palette generator →

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