#CC404D#CC404D

#CC404D is a mid, vivid red. Relative luminance 0.170; OKLCH L 57.6% C 0.176 H 19.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CC404D
RGBrgb(204, 64, 77)
HSLhsl(354, 58%, 53%)
HSVhsv(354, 69%, 80%)
CMYKcmyk(0%, 68.6%, 62.3%, 20%)
CIE-LABlab(48.32, 55.78, 24.32)
CIE-LCHlch(48.32, 60.85, 23.55°)
OKLaboklab(57.61% 0.1657 0.0586)
OKLCHoklch(57.61% 0.176 19.5)
XYZxyz(28.0776, 17.0440, 8.8311)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC404D #40CCBF
analogous
#CC4093 #CC404D #CC7940
triadic
#CC404D #4DCC40 #404DCC
tetradic
#CC404D #93CC40 #40CCBF #7940CC
square
#CC404D #93CC40 #40CCBF #7940CC
split-complementary
#CC404D #40CC79 #4093CC
monochromatic
#731F27 #A32C37 #CC404D #D9707A #E6A1A7

Accessibility & contrast

On white

4.76
#CC404D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CC404D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC404D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC404D#FFFFFF#000000##FFFFFF
##CC404D1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65604D
Deuteranopia (green-blind)
#897E49
Tritanopia (blue-blind)
#DF1C46
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc404d;
/* rgb */ color: rgb(204, 64, 77);
/* oklch */ color: oklch(57.6% 0.176 19.5);
Tailwind
colors: {
  custom: {
    50: '#e37d7e',
    500: '#cc404d',
    950: '#000000',
  },
}
SCSS
$custom: #cc404d;
$custom-light: #e37d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc404d",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 77
  },
  "hsl": {
    "h": 354.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57609,
    "c": 0.17572,
    "h": 19.5
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#CC404D
secondary
#95D2CD
accent
#E1D347
background
#FEF8F7
surface
#FDEFEE
border
#D5CAC9
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CC404D

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

Preview Lab → · Contrast checker → · Palette generator →

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