#CC405E#CC405E

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

Color values

HEX#CC405E
RGBrgb(204, 64, 94)
HSLhsl(347, 58%, 53%)
HSVhsv(347, 69%, 80%)
CMYKcmyk(0%, 68.6%, 53.9%, 20%)
CIE-LABlab(48.66, 56.98, 14.49)
CIE-LCHlch(48.66, 58.79, 14.27°)
OKLaboklab(57.97% 0.1723 0.0366)
OKLCHoklch(57.97% 0.176 12)
XYZxyz(28.7582, 17.3162, 12.4155)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC405E #40CCAE
analogous
#CC40A4 #CC405E #CC6840
triadic
#CC405E #5ECC40 #405ECC
tetradic
#CC405E #A4CC40 #40CCAE #6840CC
square
#CC405E #A4CC40 #40CCAE #6840CC
split-complementary
#CC405E #40CC68 #40A4CC
monochromatic
#731F31 #A32C45 #CC405E #D97087 #E6A1AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC405E#FFFFFF#000000##FFFFFF
##CC405E1.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)
#62615E
Deuteranopia (green-blind)
#877E5B
Tritanopia (blue-blind)
#DE234C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc405e;
/* rgb */ color: rgb(204, 64, 94);
/* oklch */ color: oklch(58.0% 0.176 12.0);
Tailwind
colors: {
  custom: {
    50: '#e27e8b',
    500: '#cc405e',
    950: '#000000',
  },
}
SCSS
$custom: #cc405e;
$custom-light: #e27e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc405e",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 347.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57973,
    "c": 0.17611,
    "h": 12
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#CC405E
secondary
#95D2C5
accent
#E1C047
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0C
muted
#857C7D

Preview Lab

Preview with #CC405E

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

Preview Lab → · Contrast checker → · Palette generator →

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