#CC5742#CC5742

#CC5742 is a mid, vivid red. Relative luminance 0.200; OKLCH L 60.2% C 0.153 H 32.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CC5742
RGBrgb(204, 87, 66)
HSLhsl(9, 58%, 53%)
HSVhsv(9, 68%, 80%)
CMYKcmyk(0%, 57.4%, 67.6%, 20%)
CIE-LABlab(51.89, 45.10, 35.15)
CIE-LCHlch(51.89, 57.18, 37.93°)
OKLaboklab(60.24% 0.13 0.0815)
OKLCHoklch(60.24% 0.153 32.1)
XYZxyz(29.2962, 20.0509, 7.4807)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5742 #42B7CC
analogous
#CC4272 #CC5742 #CC9C42
triadic
#CC5742 #42CC57 #5742CC
tetradic
#CC5742 #72CC42 #42B7CC #9C42CC
square
#CC5742 #72CC42 #42B7CC #9C42CC
split-complementary
#CC5742 #42CC9C #4272CC
monochromatic
#742C1F #A43F2C #CC5742 #D98272 #E6ADA2

Accessibility & contrast

On white

4.19
#CC5742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CC5742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5742
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5742#FFFFFF#000000##000000
##CC57421.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#766C3F
Deuteranopia (green-blind)
#93853F
Tritanopia (blue-blind)
#DF3F52
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc5742;
/* rgb */ color: rgb(204, 87, 66);
/* oklch */ color: oklch(60.2% 0.153 32.1);
Tailwind
colors: {
  custom: {
    50: '#e28a77',
    500: '#cc5742',
    950: '#000000',
  },
}
SCSS
$custom: #cc5742;
$custom-light: #e28a77;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5742",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 66
  },
  "hsl": {
    "h": 9.13,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60244,
    "c": 0.1534,
    "h": 32.1
  },
  "luminance": 0.20047
}

Semantic roles & 50–950 ramp

primary
#CC5742
secondary
#97CAD3
accent
#C9E147
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CC5742

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

Preview Lab → · Contrast checker → · Palette generator →

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