#CC5A42#CC5A42

#CC5A42 is a mid, vivid red. Relative luminance 0.205; OKLCH L 60.7% C 0.150 H 33.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CC5A42
RGBrgb(204, 90, 66)
HSLhsl(10, 58%, 53%)
HSVhsv(10, 68%, 80%)
CMYKcmyk(0%, 55.9%, 67.6%, 20%)
CIE-LABlab(52.45, 43.66, 35.80)
CIE-LCHlch(52.45, 56.46, 39.35°)
OKLaboklab(60.66% 0.1255 0.0829)
OKLCHoklch(60.66% 0.15 33.5)
XYZxyz(29.5442, 20.5468, 7.5634)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A42 #42B4CC
analogous
#CC426F #CC5A42 #CC9F42
triadic
#CC5A42 #42CC5A #5A42CC
tetradic
#CC5A42 #6FCC42 #42B4CC #9F42CC
square
#CC5A42 #6FCC42 #42B4CC #9F42CC
split-complementary
#CC5A42 #42CC9F #426FCC
monochromatic
#742E1F #A4412C #CC5A42 #D98472 #E6AEA2

Accessibility & contrast

On white

4.11
#CC5A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CC5A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5A42
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5A42#FFFFFF#000000##000000
##CC5A421.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#786E3F
Deuteranopia (green-blind)
#94873F
Tritanopia (blue-blind)
#DF4355
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5a42;
/* rgb */ color: rgb(204, 90, 66);
/* oklch */ color: oklch(60.7% 0.150 33.5);
Tailwind
colors: {
  custom: {
    50: '#e28c77',
    500: '#cc5a42',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a42;
$custom-light: #e28c77;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a42",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 10.435,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60664,
    "c": 0.15041,
    "h": 33.5
  },
  "luminance": 0.20543
}

Semantic roles & 50–950 ramp

primary
#CC5A42
secondary
#97C8D3
accent
#C6E147
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CC5A42

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

Preview Lab → · Contrast checker → · Palette generator →

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