#CF406F#CF406F

#CF406F is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.9% C 0.182 H 4.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CF406F
RGBrgb(207, 64, 111)
HSLhsl(340, 60%, 53%)
HSVhsv(340, 69%, 81%)
CMYKcmyk(0%, 69.1%, 46.4%, 18.8%)
CIE-LABlab(49.60, 59.33, 5.57)
CIE-LCHlch(49.60, 59.59, 5.36°)
OKLaboklab(58.9% 0.1813 0.0149)
OKLCHoklch(58.9% 0.182 4.7)
XYZxyz(30.4372, 18.0838, 16.9236)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF406F #40CFA0
analogous
#CF40B6 #CF406F #CF5840
triadic
#CF406F #6FCF40 #406FCF
tetradic
#CF406F #B6CF40 #40CFA0 #5840CF
square
#CF406F #B6CF40 #40CFA0 #5840CF
split-complementary
#CF406F #40CF58 #40B6CF
monochromatic
#771E3B #A82A53 #CF406F #DB7194 #E8A2B9

Accessibility & contrast

On white

4.55
#CF406F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CF406F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF406F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF406F#FFFFFF#000000##000000
##CF406F1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#606470
Deuteranopia (green-blind)
#86806C
Tritanopia (blue-blind)
#E12953
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cf406f;
/* rgb */ color: rgb(207, 64, 111);
/* oklch */ color: oklch(58.9% 0.182 4.7);
Tailwind
colors: {
  custom: {
    50: '#e37f98',
    500: '#cf406f',
    950: '#000000',
  },
}
SCSS
$custom: #cf406f;
$custom-light: #e37f98;
$custom-dark: #000000;
JSON
{
  "hex": "#cf406f",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 111
  },
  "hsl": {
    "h": 340.28,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58905,
    "c": 0.18186,
    "h": 4.7
  },
  "luminance": 0.1808
}

Semantic roles & 50–950 ramp

primary
#CF406F
secondary
#97D4C0
accent
#E3AF45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #CF406F

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

Preview Lab → · Contrast checker → · Palette generator →

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