#CC406D#CC406D

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

Color values

HEX#CC406D
RGBrgb(204, 64, 109)
HSLhsl(341, 58%, 53%)
HSVhsv(341, 69%, 80%)
CMYKcmyk(0%, 68.6%, 46.6%, 20%)
CIE-LABlab(49.02, 58.25, 5.89)
CIE-LCHlch(49.02, 58.55, 5.77°)
OKLaboklab(58.36% 0.1779 0.0157)
OKLCHoklch(58.36% 0.179 5)
XYZxyz(29.4979, 17.6121, 16.3112)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC406D #40CC9F
analogous
#CC40B3 #CC406D #CC5940
triadic
#CC406D #6DCC40 #406DCC
tetradic
#CC406D #B3CC40 #40CC9F #5940CC
square
#CC406D #B3CC40 #40CC9F #5940CC
split-complementary
#CC406D #40CC59 #40B3CC
monochromatic
#731F3A #A32C52 #CC406D #D97092 #E6A1B7

Accessibility & contrast

On white

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

On black

4.52
#CC406D on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC406D#FFFFFF#000000##FFFFFF
##CC406D1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F636E
Deuteranopia (green-blind)
#847F6A
Tritanopia (blue-blind)
#DE2A52
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc406d;
/* rgb */ color: rgb(204, 64, 109);
/* oklch */ color: oklch(58.4% 0.179 5.0);
Tailwind
colors: {
  custom: {
    50: '#e17e96',
    500: '#cc406d',
    950: '#000000',
  },
}
SCSS
$custom: #cc406d;
$custom-light: #e17e96;
$custom-dark: #000000;
JSON
{
  "hex": "#cc406d",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 109
  },
  "hsl": {
    "h": 340.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58364,
    "c": 0.17857,
    "h": 5
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#CC406D
secondary
#95D2BF
accent
#E1AF47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC406D

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

Preview Lab → · Contrast checker → · Palette generator →

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