#CC406A#CC406A

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

Color values

HEX#CC406A
RGBrgb(204, 64, 106)
HSLhsl(342, 58%, 53%)
HSVhsv(342, 69%, 80%)
CMYKcmyk(0%, 68.6%, 48%, 20%)
CIE-LABlab(48.94, 57.98, 7.60)
CIE-LCHlch(48.94, 58.48, 7.47°)
OKLaboklab(58.28% 0.1768 0.0199)
OKLCHoklch(58.28% 0.178 6.4)
XYZxyz(29.3391, 17.5486, 15.4751)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC406A #40CCA2
analogous
#CC40B0 #CC406A #CC5C40
triadic
#CC406A #6ACC40 #406ACC
tetradic
#CC406A #B0CC40 #40CCA2 #5C40CC
square
#CC406A #B0CC40 #40CCA2 #5C40CC
split-complementary
#CC406A #40CC5C #40B0CC
monochromatic
#731F38 #A32C4F #CC406A #D97090 #E6A1B5

Accessibility & contrast

On white

4.66
#CC406A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC406A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC406A#FFFFFF#000000##FFFFFF
##CC406A1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60636B
Deuteranopia (green-blind)
#857F67
Tritanopia (blue-blind)
#DE2851
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc406a;
/* rgb */ color: rgb(204, 64, 106);
/* oklch */ color: oklch(58.3% 0.178 6.4);
Tailwind
colors: {
  custom: {
    50: '#e17e94',
    500: '#cc406a',
    950: '#000000',
  },
}
SCSS
$custom: #cc406a;
$custom-light: #e17e94;
$custom-dark: #000000;
JSON
{
  "hex": "#cc406a",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 342,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58281,
    "c": 0.17791,
    "h": 6.4
  },
  "luminance": 0.17545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC406A

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

Preview Lab → · Contrast checker → · Palette generator →

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