#CC408E#CC408E

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

Color values

HEX#CC408E
RGBrgb(204, 64, 142)
HSLhsl(327, 58%, 53%)
HSVhsv(327, 69%, 80%)
CMYKcmyk(0%, 68.6%, 30.4%, 20%)
CIE-LABlab(50.05, 61.75, -12.52)
CIE-LCHlch(50.05, 63.01, 348.54°)
OKLaboklab(59.46% 0.1882 -0.0326)
OKLCHoklch(59.46% 0.191 350.2)
XYZxyz(31.6193, 18.4606, 27.4840)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC408E #40CC7E
analogous
#C440CC #CC408E #CC4048
triadic
#CC408E #8ECC40 #408ECC
tetradic
#CC408E #CCC440 #40CC7E #4048CC
square
#CC408E #CCC440 #40CC7E #4048CC
split-complementary
#CC408E #48CC40 #40CCC4
monochromatic
#731F4E #A32C6E #CC408E #D970AB #E6A1C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC408E#FFFFFF#000000##000000
##CC408E1.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)
#556790
Deuteranopia (green-blind)
#7D808B
Tritanopia (blue-blind)
#DB3961
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc408e;
/* rgb */ color: rgb(204, 64, 142);
/* oklch */ color: oklch(59.5% 0.191 350.2);
Tailwind
colors: {
  custom: {
    50: '#e07faf',
    500: '#cc408e',
    950: '#000000',
  },
}
SCSS
$custom: #cc408e;
$custom-light: #e07faf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc408e",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 326.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59459,
    "c": 0.19103,
    "h": 350.2
  },
  "luminance": 0.18457
}

Semantic roles & 50–950 ramp

primary
#CC408E
secondary
#95D2B0
accent
#E18B47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC408E

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

Preview Lab → · Contrast checker → · Palette generator →

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