#CC404C#CC404C

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

Color values

HEX#CC404C
RGBrgb(204, 64, 76)
HSLhsl(355, 58%, 53%)
HSVhsv(355, 69%, 80%)
CMYKcmyk(0%, 68.6%, 62.7%, 20%)
CIE-LABlab(48.30, 55.72, 24.89)
CIE-LCHlch(48.30, 61.02, 24.07°)
OKLaboklab(57.59% 0.1653 0.0598)
OKLCHoklch(57.59% 0.176 19.9)
XYZxyz(28.0426, 17.0299, 8.6465)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC404C #40CCC0
analogous
#CC4092 #CC404C #CC7A40
triadic
#CC404C #4CCC40 #404CCC
tetradic
#CC404C #92CC40 #40CCC0 #7A40CC
square
#CC404C #92CC40 #40CCC0 #7A40CC
split-complementary
#CC404C #40CC7A #4092CC
monochromatic
#731F26 #A32C36 #CC404C #D97079 #E6A1A7

Accessibility & contrast

On white

4.77
#CC404C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC404C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC404C#FFFFFF#000000##FFFFFF
##CC404C1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65604B
Deuteranopia (green-blind)
#897E48
Tritanopia (blue-blind)
#DF1B45
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc404c;
/* rgb */ color: rgb(204, 64, 76);
/* oklch */ color: oklch(57.6% 0.176 19.9);
Tailwind
colors: {
  custom: {
    50: '#e37d7e',
    500: '#cc404c',
    950: '#000000',
  },
}
SCSS
$custom: #cc404c;
$custom-light: #e37d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc404c",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 76
  },
  "hsl": {
    "h": 354.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5759,
    "c": 0.17577,
    "h": 19.9
  },
  "luminance": 0.17026
}

Semantic roles & 50–950 ramp

primary
#CC404C
secondary
#95D2CD
accent
#E1D447
background
#FEF8F7
surface
#FDEFEE
border
#D5CAC9
text
#170A09
muted
#857C7B

Preview Lab

Preview with #CC404C

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

Preview Lab → · Contrast checker → · Palette generator →

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