#CC5042#CC5042

#CC5042 is a mid, vivid red. Relative luminance 0.190; OKLCH L 59.3% C 0.161 H 29.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC5042
RGBrgb(204, 80, 66)
HSLhsl(6, 58%, 53%)
HSVhsv(6, 68%, 80%)
CMYKcmyk(0%, 60.8%, 67.6%, 20%)
CIE-LABlab(50.65, 48.36, 33.67)
CIE-LCHlch(50.65, 58.93, 34.85°)
OKLaboklab(59.31% 0.1401 0.0782)
OKLCHoklch(59.31% 0.161 29.2)
XYZxyz(28.7567, 18.9719, 7.3009)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5042 #42BECC
analogous
#CC4279 #CC5042 #CC9542
triadic
#CC5042 #42CC50 #5042CC
tetradic
#CC5042 #79CC42 #42BECC #9542CC
square
#CC5042 #79CC42 #42BECC #9542CC
split-complementary
#CC5042 #42CC95 #4279CC
monochromatic
#74281F #A4392C #CC5042 #D97D72 #E6A9A2

Accessibility & contrast

On white

4.38
#CC5042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CC5042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5042
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5042#FFFFFF#000000##000000
##CC50421.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#716840
Deuteranopia (green-blind)
#90833F
Tritanopia (blue-blind)
#E0354D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc5042;
/* rgb */ color: rgb(204, 80, 66);
/* oklch */ color: oklch(59.3% 0.161 29.2);
Tailwind
colors: {
  custom: {
    50: '#e38677',
    500: '#cc5042',
    950: '#000000',
  },
}
SCSS
$custom: #cc5042;
$custom-light: #e38677;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5042",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 66
  },
  "hsl": {
    "h": 6.087,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59307,
    "c": 0.1605,
    "h": 29.2
  },
  "luminance": 0.18968
}

Semantic roles & 50–950 ramp

primary
#CC5042
secondary
#97CDD3
accent
#D1E147
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #CC5042

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

Preview Lab → · Contrast checker → · Palette generator →

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