#CC404F#CC404F

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

Color values

HEX#CC404F
RGBrgb(204, 64, 79)
HSLhsl(354, 58%, 53%)
HSVhsv(354, 69%, 80%)
CMYKcmyk(0%, 68.6%, 61.3%, 20%)
CIE-LABlab(48.35, 55.91, 23.16)
CIE-LCHlch(48.35, 60.51, 22.50°)
OKLaboklab(57.65% 0.1664 0.0561)
OKLCHoklch(57.65% 0.176 18.6)
XYZxyz(28.1493, 17.0726, 9.2087)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC404F #40CCBD
analogous
#CC4095 #CC404F #CC7740
triadic
#CC404F #4FCC40 #404FCC
tetradic
#CC404F #95CC40 #40CCBD #7740CC
square
#CC404F #95CC40 #40CCBD #7740CC
split-complementary
#CC404F #40CC77 #4095CC
monochromatic
#731F28 #A32C38 #CC404F #D9707C #E6A1A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC404F#FFFFFF#000000##FFFFFF
##CC404F1.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)
#65604F
Deuteranopia (green-blind)
#887E4B
Tritanopia (blue-blind)
#DF1C46
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc404f;
/* rgb */ color: rgb(204, 64, 79);
/* oklch */ color: oklch(57.6% 0.176 18.6);
Tailwind
colors: {
  custom: {
    50: '#e37e80',
    500: '#cc404f',
    950: '#000000',
  },
}
SCSS
$custom: #cc404f;
$custom-light: #e37e80;
$custom-dark: #000000;
JSON
{
  "hex": "#cc404f",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 353.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57647,
    "c": 0.17565,
    "h": 18.6
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC404F

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

Preview Lab → · Contrast checker → · Palette generator →

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