#CC408C#CC408C

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

Color values

HEX#CC408C
RGBrgb(204, 64, 140)
HSLhsl(327, 58%, 53%)
HSVhsv(327, 69%, 80%)
CMYKcmyk(0%, 68.6%, 31.4%, 20%)
CIE-LABlab(49.98, 61.51, -11.43)
CIE-LCHlch(49.98, 62.57, 349.48°)
OKLaboklab(59.38% 0.1877 -0.0296)
OKLCHoklch(59.38% 0.19 351)
XYZxyz(31.4705, 18.4011, 26.7003)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC408C #40CC80
analogous
#C640CC #CC408C #CC4046
triadic
#CC408C #8CCC40 #408CCC
tetradic
#CC408C #CCC640 #40CC80 #4046CC
square
#CC408C #CCC640 #40CC80 #4046CC
split-complementary
#CC408C #46CC40 #40CCC6
monochromatic
#731F4C #A32C6D #CC408C #D970A9 #E6A1C6

Accessibility & contrast

On white

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

On black

4.68
#CC408C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC408C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC408C#FFFFFF#000000##000000
##CC408C1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#56678E
Deuteranopia (green-blind)
#7D8089
Tritanopia (blue-blind)
#DB3860
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc408c;
/* rgb */ color: rgb(204, 64, 140);
/* oklch */ color: oklch(59.4% 0.190 351.0);
Tailwind
colors: {
  custom: {
    50: '#e07fad',
    500: '#cc408c',
    950: '#000000',
  },
}
SCSS
$custom: #cc408c;
$custom-light: #e07fad;
$custom-dark: #000000;
JSON
{
  "hex": "#cc408c",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 327.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59384,
    "c": 0.19004,
    "h": 351
  },
  "luminance": 0.18398
}

Semantic roles & 50–950 ramp

primary
#CC408C
secondary
#95D2B1
accent
#E18D47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC408C

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

Preview Lab → · Contrast checker → · Palette generator →

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