#CC406B#CC406B

#CC406B is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.3% C 0.178 H 6.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CC406B
RGBrgb(204, 64, 107)
HSLhsl(342, 58%, 53%)
HSVhsv(342, 69%, 80%)
CMYKcmyk(0%, 68.6%, 47.5%, 20%)
CIE-LABlab(48.97, 58.07, 7.03)
CIE-LCHlch(48.97, 58.50, 6.90°)
OKLaboklab(58.31% 0.1772 0.0185)
OKLCHoklch(58.31% 0.178 6)
XYZxyz(29.3914, 17.5695, 15.7506)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC406B #40CCA1
analogous
#CC40B1 #CC406B #CC5B40
triadic
#CC406B #6BCC40 #406BCC
tetradic
#CC406B #B1CC40 #40CCA1 #5B40CC
square
#CC406B #B1CC40 #40CCA1 #5B40CC
split-complementary
#CC406B #40CC5B #40B1CC
monochromatic
#731F39 #A32C50 #CC406B #D97090 #E6A1B6

Accessibility & contrast

On white

4.65
#CC406B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CC406B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC406B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC406B#FFFFFF#000000##FFFFFF
##CC406B1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60636C
Deuteranopia (green-blind)
#847F68
Tritanopia (blue-blind)
#DE2951
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc406b;
/* rgb */ color: rgb(204, 64, 107);
/* oklch */ color: oklch(58.3% 0.178 6.0);
Tailwind
colors: {
  custom: {
    50: '#e17e95',
    500: '#cc406b',
    950: '#000000',
  },
}
SCSS
$custom: #cc406b;
$custom-light: #e17e95;
$custom-dark: #000000;
JSON
{
  "hex": "#cc406b",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 107
  },
  "hsl": {
    "h": 341.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.17812,
    "h": 6
  },
  "luminance": 0.17566
}

Semantic roles & 50–950 ramp

primary
#CC406B
secondary
#95D2C0
accent
#E1B247
background
#FEF8F9
surface
#FDEFF1
border
#D5CACB
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC406B

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

Preview Lab → · Contrast checker → · Palette generator →

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