#CC405C#CC405C

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

Color values

HEX#CC405C
RGBrgb(204, 64, 92)
HSLhsl(348, 58%, 53%)
HSVhsv(348, 69%, 80%)
CMYKcmyk(0%, 68.6%, 54.9%, 20%)
CIE-LABlab(48.61, 56.82, 15.65)
CIE-LCHlch(48.61, 58.94, 15.39°)
OKLaboklab(57.93% 0.1715 0.0392)
OKLCHoklch(57.93% 0.176 12.9)
XYZxyz(28.6696, 17.2808, 11.9490)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC405C #40CCB0
analogous
#CC40A2 #CC405C #CC6A40
triadic
#CC405C #5CCC40 #405CCC
tetradic
#CC405C #A2CC40 #40CCB0 #6A40CC
square
#CC405C #A2CC40 #40CCB0 #6A40CC
split-complementary
#CC405C #40CC6A #40A2CC
monochromatic
#731F30 #A32C44 #CC405C #D97085 #E6A1AE

Accessibility & contrast

On white

4.71
#CC405C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CC405C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC405C
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC405C#FFFFFF#000000##FFFFFF
##CC405C1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63615C
Deuteranopia (green-blind)
#877E59
Tritanopia (blue-blind)
#DF224B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc405c;
/* rgb */ color: rgb(204, 64, 92);
/* oklch */ color: oklch(57.9% 0.176 12.9);
Tailwind
colors: {
  custom: {
    50: '#e27e89',
    500: '#cc405c',
    950: '#000000',
  },
}
SCSS
$custom: #cc405c;
$custom-light: #e27e89;
$custom-dark: #000000;
JSON
{
  "hex": "#cc405c",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 348,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.17594,
    "h": 12.9
  },
  "luminance": 0.17277
}

Semantic roles & 50–950 ramp

primary
#CC405C
secondary
#95D2C6
accent
#E1C247
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0B
muted
#857C7C

Preview Lab

Preview with #CC405C

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

Preview Lab → · Contrast checker → · Palette generator →

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