#CC405B#CC405B

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

Color values

HEX#CC405B
RGBrgb(204, 64, 91)
HSLhsl(348, 58%, 53%)
HSVhsv(348, 69%, 80%)
CMYKcmyk(0%, 68.6%, 55.4%, 20%)
CIE-LABlab(48.59, 56.75, 16.22)
CIE-LCHlch(48.59, 59.02, 15.95°)
OKLaboklab(57.9% 0.1711 0.0406)
OKLCHoklch(57.9% 0.176 13.3)
XYZxyz(28.6262, 17.2634, 11.7203)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC405B #40CCB1
analogous
#CC40A1 #CC405B #CC6B40
triadic
#CC405B #5BCC40 #405BCC
tetradic
#CC405B #A1CC40 #40CCB1 #6B40CC
square
#CC405B #A1CC40 #40CCB1 #6B40CC
split-complementary
#CC405B #40CC6B #40A1CC
monochromatic
#731F2F #A32C43 #CC405B #D97084 #E6A1AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC405B#FFFFFF#000000##FFFFFF
##CC405B1.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)
#63615B
Deuteranopia (green-blind)
#877E57
Tritanopia (blue-blind)
#DF224B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc405b;
/* rgb */ color: rgb(204, 64, 91);
/* oklch */ color: oklch(57.9% 0.176 13.3);
Tailwind
colors: {
  custom: {
    50: '#e27e89',
    500: '#cc405b',
    950: '#000000',
  },
}
SCSS
$custom: #cc405b;
$custom-light: #e27e89;
$custom-dark: #000000;
JSON
{
  "hex": "#cc405b",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 348.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.17587,
    "h": 13.3
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#CC405B
secondary
#95D2C7
accent
#E1C347
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0B
muted
#857C7C

Preview Lab

Preview with #CC405B

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

Preview Lab → · Contrast checker → · Palette generator →

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