#CF406C#CF406C

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

Color values

HEX#CF406C
RGBrgb(207, 64, 108)
HSLhsl(342, 60%, 53%)
HSVhsv(342, 69%, 81%)
CMYKcmyk(0%, 69.1%, 47.8%, 18.8%)
CIE-LABlab(49.52, 59.06, 7.27)
CIE-LCHlch(49.52, 59.51, 7.02°)
OKLaboklab(58.82% 0.1802 0.0191)
OKLCHoklch(58.82% 0.181 6.1)
XYZxyz(30.2748, 18.0188, 16.0682)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF406C #40CFA3
analogous
#CF40B4 #CF406C #CF5B40
triadic
#CF406C #6CCF40 #406CCF
tetradic
#CF406C #B4CF40 #40CFA3 #5B40CF
square
#CF406C #B4CF40 #40CFA3 #5B40CF
split-complementary
#CF406C #40CF5B #40B4CF
monochromatic
#771E39 #A82A51 #CF406C #DB7192 #E8A2B7

Accessibility & contrast

On white

4.56
#CF406C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CF406C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF406C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF406C#FFFFFF#000000##000000
##CF406C1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#61646D
Deuteranopia (green-blind)
#868069
Tritanopia (blue-blind)
#E12852
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cf406c;
/* rgb */ color: rgb(207, 64, 108);
/* oklch */ color: oklch(58.8% 0.181 6.1);
Tailwind
colors: {
  custom: {
    50: '#e37f95',
    500: '#cf406c',
    950: '#000000',
  },
}
SCSS
$custom: #cf406c;
$custom-light: #e37f95;
$custom-dark: #000000;
JSON
{
  "hex": "#cf406c",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 108
  },
  "hsl": {
    "h": 341.538,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58821,
    "c": 0.18118,
    "h": 6.1
  },
  "luminance": 0.18015
}

Semantic roles & 50–950 ramp

primary
#CF406C
secondary
#97D4C1
accent
#E3B245
background
#FEF8F9
surface
#FDEFF1
border
#D5CACB
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #CF406C

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

Preview Lab → · Contrast checker → · Palette generator →

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