#CC408A#CC408A

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

Color values

HEX#CC408A
RGBrgb(204, 64, 138)
HSLhsl(328, 58%, 53%)
HSVhsv(328, 69%, 80%)
CMYKcmyk(0%, 68.6%, 32.4%, 20%)
CIE-LABlab(49.91, 61.28, -10.33)
CIE-LCHlch(49.91, 62.14, 350.43°)
OKLaboklab(59.31% 0.1872 -0.0267)
OKLCHoklch(59.31% 0.189 351.9)
XYZxyz(31.3244, 18.3427, 25.9307)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC408A #40CC82
analogous
#C840CC #CC408A #CC4044
triadic
#CC408A #8ACC40 #408ACC
tetradic
#CC408A #CCC840 #40CC82 #4044CC
square
#CC408A #CCC840 #40CC82 #4044CC
split-complementary
#CC408A #44CC40 #40CCC8
monochromatic
#731F4B #A32C6B #CC408A #D970A8 #E6A1C5

Accessibility & contrast

On white

4.50
#CC408A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC408A#FFFFFF#000000##000000
##CC408A1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#56678C
Deuteranopia (green-blind)
#7E8087
Tritanopia (blue-blind)
#DB375F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc408a;
/* rgb */ color: rgb(204, 64, 138);
/* oklch */ color: oklch(59.3% 0.189 351.9);
Tailwind
colors: {
  custom: {
    50: '#e07fac',
    500: '#cc408a',
    950: '#000000',
  },
}
SCSS
$custom: #cc408a;
$custom-light: #e07fac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc408a",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 328.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59309,
    "c": 0.18906,
    "h": 351.9
  },
  "luminance": 0.18339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC408A

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

Preview Lab → · Contrast checker → · Palette generator →

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