#CC5F42#CC5F42

#CC5F42 is a mid, vivid red. Relative luminance 0.214; OKLCH L 61.4% C 0.146 H 35.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CC5F42
RGBrgb(204, 95, 66)
HSLhsl(13, 58%, 53%)
HSVhsv(13, 68%, 80%)
CMYKcmyk(0%, 53.4%, 67.6%, 20%)
CIE-LABlab(53.40, 41.20, 36.93)
CIE-LCHlch(53.40, 55.32, 41.87°)
OKLaboklab(61.39% 0.1179 0.0854)
OKLCHoklch(61.39% 0.146 35.9)
XYZxyz(29.9802, 21.4189, 7.7087)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5F42 #42AFCC
analogous
#CC426A #CC5F42 #CCA442
triadic
#CC5F42 #42CC5F #5F42CC
tetradic
#CC5F42 #6ACC42 #42AFCC #A442CC
square
#CC5F42 #6ACC42 #42AFCC #A442CC
split-complementary
#CC5F42 #42CCA4 #426ACC
monochromatic
#74311F #A4462C #CC5F42 #D98872 #E6B1A2

Accessibility & contrast

On white

3.98
#CC5F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CC5F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5F42
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5F42#FFFFFF#000000##000000
##CC5F421.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C713F
Deuteranopia (green-blind)
#978940
Tritanopia (blue-blind)
#DF4958
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc5f42;
/* rgb */ color: rgb(204, 95, 66);
/* oklch */ color: oklch(61.4% 0.146 35.9);
Tailwind
colors: {
  custom: {
    50: '#e28f77',
    500: '#cc5f42',
    950: '#000000',
  },
}
SCSS
$custom: #cc5f42;
$custom-light: #e28f77;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5f42",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 66
  },
  "hsl": {
    "h": 12.609,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61389,
    "c": 0.14555,
    "h": 35.9
  },
  "luminance": 0.21415
}

Semantic roles & 50–950 ramp

primary
#CC5F42
secondary
#97C6D3
accent
#C0E147
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170D09
muted
#857D7B

Preview Lab

Preview with #CC5F42

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

Preview Lab → · Contrast checker → · Palette generator →

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