#CC408F#CC408F

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

Color values

HEX#CC408F
RGBrgb(204, 64, 143)
HSLhsl(326, 58%, 53%)
HSVhsv(326, 69%, 80%)
CMYKcmyk(0%, 68.6%, 29.9%, 20%)
CIE-LABlab(50.09, 61.87, -13.06)
CIE-LCHlch(50.09, 63.24, 348.08°)
OKLaboklab(59.5% 0.1885 -0.0341)
OKLCHoklch(59.5% 0.192 349.7)
XYZxyz(31.6947, 18.4908, 27.8812)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC408F #40CC7D
analogous
#C340CC #CC408F #CC4049
triadic
#CC408F #8FCC40 #408FCC
tetradic
#CC408F #CCC340 #40CC7D #4049CC
square
#CC408F #CCC340 #40CC7D #4049CC
split-complementary
#CC408F #49CC40 #40CCC3
monochromatic
#731F4E #A32C6F #CC408F #D970AB #E6A1C8

Accessibility & contrast

On white

4.47
#CC408F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CC408F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC408F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC408F#FFFFFF#000000##000000
##CC408F1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#7C808C
Tritanopia (blue-blind)
#DB3962
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc408f;
/* rgb */ color: rgb(204, 64, 143);
/* oklch */ color: oklch(59.5% 0.192 349.7);
Tailwind
colors: {
  custom: {
    50: '#e07faf',
    500: '#cc408f',
    950: '#000000',
  },
}
SCSS
$custom: #cc408f;
$custom-light: #e07faf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc408f",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 326.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59497,
    "c": 0.19155,
    "h": 349.7
  },
  "luminance": 0.18487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC408F

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

Preview Lab → · Contrast checker → · Palette generator →

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