#CF406B#CF406B

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

Color values

HEX#CF406B
RGBrgb(207, 64, 107)
HSLhsl(342, 60%, 53%)
HSVhsv(342, 69%, 81%)
CMYKcmyk(0%, 69.1%, 48.3%, 18.8%)
CIE-LABlab(49.49, 58.97, 7.84)
CIE-LCHlch(49.49, 59.49, 7.58°)
OKLaboklab(58.79% 0.1798 0.0205)
OKLCHoklch(58.79% 0.181 6.5)
XYZxyz(30.2218, 17.9977, 15.7895)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF406B #40CFA4
analogous
#CF40B2 #CF406B #CF5C40
triadic
#CF406B #6BCF40 #406BCF
tetradic
#CF406B #B2CF40 #40CFA4 #5C40CF
square
#CF406B #B2CF40 #40CFA4 #5C40CF
split-complementary
#CF406B #40CF5C #40B2CF
monochromatic
#771E39 #A82A50 #CF406B #DB7191 #E8A2B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF406B#FFFFFF#000000##000000
##CF406B1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#61646C
Deuteranopia (green-blind)
#868068
Tritanopia (blue-blind)
#E12751
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cf406b;
/* rgb */ color: rgb(207, 64, 107);
/* oklch */ color: oklch(58.8% 0.181 6.5);
Tailwind
colors: {
  custom: {
    50: '#e37e95',
    500: '#cf406b',
    950: '#000000',
  },
}
SCSS
$custom: #cf406b;
$custom-light: #e37e95;
$custom-dark: #000000;
JSON
{
  "hex": "#cf406b",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 107
  },
  "hsl": {
    "h": 341.958,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58794,
    "c": 0.18097,
    "h": 6.5
  },
  "luminance": 0.17994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF406B

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

Preview Lab → · Contrast checker → · Palette generator →

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