#CC5342#CC5342

#CC5342 is a mid, vivid red. Relative luminance 0.194; OKLCH L 59.7% C 0.157 H 30.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC5342
RGBrgb(204, 83, 66)
HSLhsl(7, 58%, 53%)
HSVhsv(7, 68%, 80%)
CMYKcmyk(0%, 59.3%, 67.6%, 20%)
CIE-LABlab(51.18, 46.98, 34.29)
CIE-LCHlch(51.18, 58.17, 36.13°)
OKLaboklab(59.7% 0.1358 0.0796)
OKLCHoklch(59.7% 0.157 30.4)
XYZxyz(28.9813, 19.4211, 7.3757)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5342 #42BBCC
analogous
#CC4276 #CC5342 #CC9842
triadic
#CC5342 #42CC53 #5342CC
tetradic
#CC5342 #76CC42 #42BBCC #9842CC
square
#CC5342 #76CC42 #42BBCC #9842CC
split-complementary
#CC5342 #42CC98 #4276CC
monochromatic
#742A1F #A43B2C #CC5342 #D97F72 #E6ABA2

Accessibility & contrast

On white

4.30
#CC5342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CC5342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5342
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5342#FFFFFF#000000##000000
##CC53421.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#736940
Deuteranopia (green-blind)
#91843F
Tritanopia (blue-blind)
#E03950
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc5342;
/* rgb */ color: rgb(204, 83, 66);
/* oklch */ color: oklch(59.7% 0.157 30.4);
Tailwind
colors: {
  custom: {
    50: '#e28877',
    500: '#cc5342',
    950: '#000000',
  },
}
SCSS
$custom: #cc5342;
$custom-light: #e28877;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5342",
  "rgb": {
    "r": 204,
    "g": 83,
    "b": 66
  },
  "hsl": {
    "h": 7.391,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.15744,
    "h": 30.4
  },
  "luminance": 0.19417
}

Semantic roles & 50–950 ramp

primary
#CC5342
secondary
#97CBD3
accent
#CEE147
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CC5342

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

Preview Lab → · Contrast checker → · Palette generator →

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