#CC408B#CC408B

#CC408B is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.3% C 0.190 H 351.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CC408B
RGBrgb(204, 64, 139)
HSLhsl(328, 58%, 53%)
HSVhsv(328, 69%, 80%)
CMYKcmyk(0%, 68.6%, 31.9%, 20%)
CIE-LABlab(49.94, 61.40, -10.88)
CIE-LCHlch(49.94, 62.35, 349.95°)
OKLaboklab(59.35% 0.1874 -0.0282)
OKLCHoklch(59.35% 0.19 351.5)
XYZxyz(31.3971, 18.3718, 26.3137)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC408B #40CC81
analogous
#C740CC #CC408B #CC4045
triadic
#CC408B #8BCC40 #408BCC
tetradic
#CC408B #CCC740 #40CC81 #4045CC
square
#CC408B #CCC740 #40CC81 #4045CC
split-complementary
#CC408B #45CC40 #40CCC7
monochromatic
#731F4C #A32C6C #CC408B #D970A8 #E6A1C6

Accessibility & contrast

On white

4.49
#CC408B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#CC408B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC408B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC408B#FFFFFF#000000##000000
##CC408B1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#56678D
Deuteranopia (green-blind)
#7E8088
Tritanopia (blue-blind)
#DB3760
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc408b;
/* rgb */ color: rgb(204, 64, 139);
/* oklch */ color: oklch(59.3% 0.190 351.5);
Tailwind
colors: {
  custom: {
    50: '#e07fac',
    500: '#cc408b',
    950: '#000000',
  },
}
SCSS
$custom: #cc408b;
$custom-light: #e07fac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc408b",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 327.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59346,
    "c": 0.18954,
    "h": 351.5
  },
  "luminance": 0.18368
}

Semantic roles & 50–950 ramp

primary
#CC408B
secondary
#95D2B2
accent
#E18E47
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC408B

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

Preview Lab → · Contrast checker → · Palette generator →

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