#CF406A#CF406A

#CF406A is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.8% C 0.181 H 7.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CF406A
RGBrgb(207, 64, 106)
HSLhsl(342, 60%, 53%)
HSVhsv(342, 69%, 81%)
CMYKcmyk(0%, 69.1%, 48.8%, 18.8%)
CIE-LABlab(49.47, 58.88, 8.42)
CIE-LCHlch(49.47, 59.48, 8.13°)
OKLaboklab(58.77% 0.1794 0.022)
OKLCHoklch(58.77% 0.181 7)
XYZxyz(30.1695, 17.9767, 15.5140)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF406A #40CFA5
analogous
#CF40B1 #CF406A #CF5D40
triadic
#CF406A #6ACF40 #406ACF
tetradic
#CF406A #B1CF40 #40CFA5 #5D40CF
square
#CF406A #B1CF40 #40CFA5 #5D40CF
split-complementary
#CF406A #40CF5D #40B1CF
monochromatic
#771E38 #A82A4F #CF406A #DB7190 #E8A2B6

Accessibility & contrast

On white

4.57
#CF406A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CF406A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF406A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF406A#FFFFFF#000000##000000
##CF406A1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#61636B
Deuteranopia (green-blind)
#878067
Tritanopia (blue-blind)
#E12751
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cf406a;
/* rgb */ color: rgb(207, 64, 106);
/* oklch */ color: oklch(58.8% 0.181 7.0);
Tailwind
colors: {
  custom: {
    50: '#e37e94',
    500: '#cf406a',
    950: '#000000',
  },
}
SCSS
$custom: #cf406a;
$custom-light: #e37e94;
$custom-dark: #000000;
JSON
{
  "hex": "#cf406a",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 342.378,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58767,
    "c": 0.18078,
    "h": 7
  },
  "luminance": 0.17973
}

Semantic roles & 50–950 ramp

primary
#CF406A
secondary
#97D4C2
accent
#E3B545
background
#FEF8F9
surface
#FDEFF1
border
#D5CACB
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #CF406A

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

Preview Lab → · Contrast checker → · Palette generator →

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