#CC404E#CC404E

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

Color values

HEX#CC404E
RGBrgb(204, 64, 78)
HSLhsl(354, 58%, 53%)
HSVhsv(354, 69%, 80%)
CMYKcmyk(0%, 68.6%, 61.8%, 20%)
CIE-LABlab(48.33, 55.84, 23.74)
CIE-LCHlch(48.33, 60.68, 23.03°)
OKLaboklab(57.63% 0.1661 0.0573)
OKLCHoklch(57.63% 0.176 19)
XYZxyz(28.1132, 17.0582, 9.0185)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC404E #40CCBE
analogous
#CC4094 #CC404E #CC7840
triadic
#CC404E #4ECC40 #404ECC
tetradic
#CC404E #94CC40 #40CCBE #7840CC
square
#CC404E #94CC40 #40CCBE #7840CC
split-complementary
#CC404E #40CC78 #4094CC
monochromatic
#731F27 #A32C38 #CC404E #D9707B #E6A1A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC404E#FFFFFF#000000##FFFFFF
##CC404E1.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)
#65604E
Deuteranopia (green-blind)
#897E4A
Tritanopia (blue-blind)
#DF1C46
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc404e;
/* rgb */ color: rgb(204, 64, 78);
/* oklch */ color: oklch(57.6% 0.176 19.0);
Tailwind
colors: {
  custom: {
    50: '#e37d7f',
    500: '#cc404e',
    950: '#000000',
  },
}
SCSS
$custom: #cc404e;
$custom-light: #e37d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc404e",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 78
  },
  "hsl": {
    "h": 354,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.17568,
    "h": 19
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#CC404E
secondary
#95D2CC
accent
#E1D247
background
#FEF8F7
surface
#FDEFEE
border
#D5CAC9
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CC404E

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

Preview Lab → · Contrast checker → · Palette generator →

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