#CC4240#CC4240

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

Color values

HEX#CC4240
RGBrgb(204, 66, 64)
HSLhsl(1, 58%, 53%)
HSVhsv(1, 69%, 80%)
CMYKcmyk(0%, 67.6%, 68.6%, 20%)
CIE-LABlab(48.40, 54.24, 32.11)
CIE-LCHlch(48.40, 63.04, 30.62°)
OKLaboklab(57.6% 0.1582 0.0745)
OKLCHoklch(57.6% 0.175 25.2)
XYZxyz(27.7784, 17.1080, 6.6890)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4240 #40CACC
analogous
#CC4084 #CC4240 #CC8840
triadic
#CC4240 #40CC42 #4240CC
tetradic
#CC4240 #84CC40 #40CACC #8840CC
square
#CC4240 #84CC40 #40CACC #8840CC
split-complementary
#CC4240 #40CC88 #4084CC
monochromatic
#73201F #A32D2C #CC4240 #D97270 #E6A2A1

Accessibility & contrast

On white

4.75
#CC4240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CC4240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4240
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4240#FFFFFF#000000##FFFFFF
##CC42401.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68603F
Deuteranopia (green-blind)
#8B7E3C
Tritanopia (blue-blind)
#E01B43
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc4240;
/* rgb */ color: rgb(204, 66, 64);
/* oklch */ color: oklch(57.6% 0.175 25.2);
Tailwind
colors: {
  custom: {
    50: '#e37e75',
    500: '#cc4240',
    950: '#000000',
  },
}
SCSS
$custom: #cc4240;
$custom-light: #e37e75;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4240",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 64
  },
  "hsl": {
    "h": 0.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57602,
    "c": 0.1749,
    "h": 25.2
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#CC4240
secondary
#95D1D2
accent
#DFE147
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #CC4240

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

Preview Lab → · Contrast checker → · Palette generator →

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