#CC5942#CC5942

#CC5942 is a mid, vivid red. Relative luminance 0.204; OKLCH L 60.5% C 0.151 H 33.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CC5942
RGBrgb(204, 89, 66)
HSLhsl(10, 58%, 53%)
HSVhsv(10, 68%, 80%)
CMYKcmyk(0%, 56.4%, 67.6%, 20%)
CIE-LABlab(52.26, 44.14, 35.58)
CIE-LCHlch(52.26, 56.70, 38.87°)
OKLaboklab(60.52% 0.127 0.0824)
OKLCHoklch(60.52% 0.151 33)
XYZxyz(29.4604, 20.3793, 7.5354)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5942 #42B5CC
analogous
#CC4270 #CC5942 #CC9E42
triadic
#CC5942 #42CC59 #5942CC
tetradic
#CC5942 #70CC42 #42B5CC #9E42CC
square
#CC5942 #70CC42 #42B5CC #9E42CC
split-complementary
#CC5942 #42CC9E #4270CC
monochromatic
#742E1F #A4402C #CC5942 #D98372 #E6AEA2

Accessibility & contrast

On white

4.14
#CC5942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CC5942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5942
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5942#FFFFFF#000000##000000
##CC59421.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#776D3F
Deuteranopia (green-blind)
#94863F
Tritanopia (blue-blind)
#DF4254
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5942;
/* rgb */ color: rgb(204, 89, 66);
/* oklch */ color: oklch(60.5% 0.151 33.0);
Tailwind
colors: {
  custom: {
    50: '#e28b77',
    500: '#cc5942',
    950: '#000000',
  },
}
SCSS
$custom: #cc5942;
$custom-light: #e28b77;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5942",
  "rgb": {
    "r": 204,
    "g": 89,
    "b": 66
  },
  "hsl": {
    "h": 10,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60523,
    "c": 0.1514,
    "h": 33
  },
  "luminance": 0.20375
}

Semantic roles & 50–950 ramp

primary
#CC5942
secondary
#97C9D3
accent
#C7E147
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CC5942

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

Preview Lab → · Contrast checker → · Palette generator →

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