#CC406F#CC406F

#CC406F is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.4% C 0.179 H 4.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CC406F
RGBrgb(204, 64, 111)
HSLhsl(340, 58%, 53%)
HSVhsv(340, 69%, 80%)
CMYKcmyk(0%, 68.6%, 45.6%, 20%)
CIE-LABlab(49.08, 58.44, 4.75)
CIE-LCHlch(49.08, 58.63, 4.65°)
OKLaboklab(58.42% 0.1786 0.0128)
OKLCHoklch(58.42% 0.179 4.1)
XYZxyz(29.6068, 17.6556, 16.8846)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC406F #40CC9D
analogous
#CC40B5 #CC406F #CC5740
triadic
#CC406F #6FCC40 #406FCC
tetradic
#CC406F #B5CC40 #40CC9D #5740CC
square
#CC406F #B5CC40 #40CC9D #5740CC
split-complementary
#CC406F #40CC57 #40B5CC
monochromatic
#731F3B #A32C54 #CC406F #D97093 #E6A1B8

Accessibility & contrast

On white

4.64
#CC406F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#CC406F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC406F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC406F#FFFFFF#000000##FFFFFF
##CC406F1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6370
Deuteranopia (green-blind)
#847F6C
Tritanopia (blue-blind)
#DD2B53
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc406f;
/* rgb */ color: rgb(204, 64, 111);
/* oklch */ color: oklch(58.4% 0.179 4.1);
Tailwind
colors: {
  custom: {
    50: '#e17e98',
    500: '#cc406f',
    950: '#000000',
  },
}
SCSS
$custom: #cc406f;
$custom-light: #e17e98;
$custom-dark: #000000;
JSON
{
  "hex": "#cc406f",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 111
  },
  "hsl": {
    "h": 339.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58421,
    "c": 0.17906,
    "h": 4.1
  },
  "luminance": 0.17652
}

Semantic roles & 50–950 ramp

primary
#CC406F
secondary
#95D2BE
accent
#E1AD47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC406F

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

Preview Lab → · Contrast checker → · Palette generator →

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