#CC406C#CC406C

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

Color values

HEX#CC406C
RGBrgb(204, 64, 108)
HSLhsl(341, 58%, 53%)
HSVhsv(341, 69%, 80%)
CMYKcmyk(0%, 68.6%, 47.1%, 20%)
CIE-LABlab(49.00, 58.16, 6.46)
CIE-LCHlch(49.00, 58.52, 6.34°)
OKLaboklab(58.34% 0.1775 0.0171)
OKLCHoklch(58.34% 0.178 5.5)
XYZxyz(29.4444, 17.5907, 16.0293)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC406C #40CCA0
analogous
#CC40B2 #CC406C #CC5A40
triadic
#CC406C #6CCC40 #406CCC
tetradic
#CC406C #B2CC40 #40CCA0 #5A40CC
square
#CC406C #B2CC40 #40CCA0 #5A40CC
split-complementary
#CC406C #40CC5A #40B2CC
monochromatic
#731F39 #A32C51 #CC406C #D97091 #E6A1B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC406C#FFFFFF#000000##FFFFFF
##CC406C1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F636D
Deuteranopia (green-blind)
#847F69
Tritanopia (blue-blind)
#DE2952
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc406c;
/* rgb */ color: rgb(204, 64, 108);
/* oklch */ color: oklch(58.3% 0.178 5.5);
Tailwind
colors: {
  custom: {
    50: '#e17e95',
    500: '#cc406c',
    950: '#000000',
  },
}
SCSS
$custom: #cc406c;
$custom-light: #e17e95;
$custom-dark: #000000;
JSON
{
  "hex": "#cc406c",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 108
  },
  "hsl": {
    "h": 341.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58336,
    "c": 0.17834,
    "h": 5.5
  },
  "luminance": 0.17587
}

Semantic roles & 50–950 ramp

primary
#CC406C
secondary
#95D2BF
accent
#E1B147
background
#FEF8F9
surface
#FDEFF1
border
#D5CACB
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC406C

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

Preview Lab → · Contrast checker → · Palette generator →

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