#CC405A#CC405A

#CC405A is a mid, vivid red. Relative luminance 0.172; OKLCH L 57.9% C 0.176 H 13.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CC405A
RGBrgb(204, 64, 90)
HSLhsl(349, 58%, 53%)
HSVhsv(349, 69%, 80%)
CMYKcmyk(0%, 68.6%, 55.9%, 20%)
CIE-LABlab(48.57, 56.67, 16.80)
CIE-LCHlch(48.57, 59.11, 16.51°)
OKLaboklab(57.88% 0.1707 0.0419)
OKLCHoklch(57.88% 0.176 13.8)
XYZxyz(28.5833, 17.2462, 11.4946)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC405A #40CCB2
analogous
#CC40A0 #CC405A #CC6C40
triadic
#CC405A #5ACC40 #405ACC
tetradic
#CC405A #A0CC40 #40CCB2 #6C40CC
square
#CC405A #A0CC40 #40CCB2 #6C40CC
split-complementary
#CC405A #40CC6C #40A0CC
monochromatic
#731F2E #A32C42 #CC405A #D97084 #E6A1AD

Accessibility & contrast

On white

4.72
#CC405A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CC405A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC405A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC405A#FFFFFF#000000##FFFFFF
##CC405A1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63615A
Deuteranopia (green-blind)
#877E56
Tritanopia (blue-blind)
#DF214A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc405a;
/* rgb */ color: rgb(204, 64, 90);
/* oklch */ color: oklch(57.9% 0.176 13.8);
Tailwind
colors: {
  custom: {
    50: '#e27e88',
    500: '#cc405a',
    950: '#000000',
  },
}
SCSS
$custom: #cc405a;
$custom-light: #e27e88;
$custom-dark: #000000;
JSON
{
  "hex": "#cc405a",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 348.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5788,
    "c": 0.1758,
    "h": 13.8
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#CC405A
secondary
#95D2C7
accent
#E1C447
background
#FEF8F8
surface
#FDEFEF
border
#D5CACA
text
#170B0B
muted
#857C7C

Preview Lab

Preview with #CC405A

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

Preview Lab → · Contrast checker → · Palette generator →

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