#CC408D#CC408D

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

Color values

HEX#CC408D
RGBrgb(204, 64, 141)
HSLhsl(327, 58%, 53%)
HSVhsv(327, 69%, 80%)
CMYKcmyk(0%, 68.6%, 30.9%, 20%)
CIE-LABlab(50.01, 61.63, -11.97)
CIE-LCHlch(50.01, 62.78, 349.01°)
OKLaboklab(59.42% 0.188 -0.0311)
OKLCHoklch(59.42% 0.191 350.6)
XYZxyz(31.5446, 18.4307, 27.0904)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC408D #40CC7F
analogous
#C540CC #CC408D #CC4047
triadic
#CC408D #8DCC40 #408DCC
tetradic
#CC408D #CCC540 #40CC7F #4047CC
square
#CC408D #CCC540 #40CC7F #4047CC
split-complementary
#CC408D #47CC40 #40CCC5
monochromatic
#731F4D #A32C6D #CC408D #D970AA #E6A1C7

Accessibility & contrast

On white

4.48
#CC408D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CC408D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC408D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC408D#FFFFFF#000000##000000
##CC408D1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#55678F
Deuteranopia (green-blind)
#7D808A
Tritanopia (blue-blind)
#DB3861
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc408d;
/* rgb */ color: rgb(204, 64, 141);
/* oklch */ color: oklch(59.4% 0.191 350.6);
Tailwind
colors: {
  custom: {
    50: '#e07fae',
    500: '#cc408d',
    950: '#000000',
  },
}
SCSS
$custom: #cc408d;
$custom-light: #e07fae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc408d",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 327,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59421,
    "c": 0.19053,
    "h": 350.6
  },
  "luminance": 0.18427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC408D

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

Preview Lab → · Contrast checker → · Palette generator →

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