#CC4042#CC4042

#CC4042 is a mid, vivid red. Relative luminance 0.169; OKLCH L 57.4% C 0.177 H 23.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC4042
RGBrgb(204, 64, 66)
HSLhsl(359, 58%, 53%)
HSVhsv(359, 69%, 80%)
CMYKcmyk(0%, 68.6%, 67.6%, 20%)
CIE-LABlab(48.14, 55.14, 30.63)
CIE-LCHlch(48.14, 63.07, 29.05°)
OKLaboklab(57.42% 0.1615 0.0715)
OKLCHoklch(57.42% 0.177 23.9)
XYZxyz(27.7215, 16.9015, 6.9558)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4042 #40CCCA
analogous
#CC4088 #CC4042 #CC8440
triadic
#CC4042 #42CC40 #4042CC
tetradic
#CC4042 #88CC40 #40CCCA #8440CC
square
#CC4042 #88CC40 #40CCCA #8440CC
split-complementary
#CC4042 #40CC84 #4088CC
monochromatic
#731F20 #A32C2D #CC4042 #D97072 #E6A1A2

Accessibility & contrast

On white

4.79
#CC4042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#CC4042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4042
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4042#FFFFFF#000000##FFFFFF
##CC40421.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F41
Deuteranopia (green-blind)
#8A7D3E
Tritanopia (blue-blind)
#E01742
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc4042;
/* rgb */ color: rgb(204, 64, 66);
/* oklch */ color: oklch(57.4% 0.177 23.9);
Tailwind
colors: {
  custom: {
    50: '#e37d76',
    500: '#cc4042',
    950: '#000000',
  },
}
SCSS
$custom: #cc4042;
$custom-light: #e37d76;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4042",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 359.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57417,
    "c": 0.17661,
    "h": 23.9
  },
  "luminance": 0.16898
}

Semantic roles & 50–950 ramp

primary
#CC4042
secondary
#95D2D1
accent
#E1DF47
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #CC4042

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

Preview Lab → · Contrast checker → · Palette generator →

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