#CC5142#CC5142

#CC5142 is a mid, vivid red. Relative luminance 0.191; OKLCH L 59.4% C 0.159 H 29.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC5142
RGBrgb(204, 81, 66)
HSLhsl(7, 58%, 53%)
HSVhsv(7, 68%, 80%)
CMYKcmyk(0%, 60.3%, 67.6%, 20%)
CIE-LABlab(50.83, 47.90, 33.87)
CIE-LCHlch(50.83, 58.67, 35.27°)
OKLaboklab(59.44% 0.1387 0.0787)
OKLCHoklch(59.44% 0.159 29.6)
XYZxyz(28.8305, 19.1194, 7.3255)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5142 #42BDCC
analogous
#CC4278 #CC5142 #CC9642
triadic
#CC5142 #42CC51 #5142CC
tetradic
#CC5142 #78CC42 #42BDCC #9642CC
square
#CC5142 #78CC42 #42BDCC #9642CC
split-complementary
#CC5142 #42CC96 #4278CC
monochromatic
#74291F #A4392C #CC5142 #D97D72 #E6AAA2

Accessibility & contrast

On white

4.35
#CC5142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CC5142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5142
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5142#FFFFFF#000000##000000
##CC51421.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#726840
Deuteranopia (green-blind)
#90833F
Tritanopia (blue-blind)
#E0364E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc5142;
/* rgb */ color: rgb(204, 81, 66);
/* oklch */ color: oklch(59.4% 0.159 29.6);
Tailwind
colors: {
  custom: {
    50: '#e38777',
    500: '#cc5142',
    950: '#000000',
  },
}
SCSS
$custom: #cc5142;
$custom-light: #e38777;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5142",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 6.522,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59437,
    "c": 0.15948,
    "h": 29.6
  },
  "luminance": 0.19116
}

Semantic roles & 50–950 ramp

primary
#CC5142
secondary
#97CCD3
accent
#D0E147
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B

Preview Lab

Preview with #CC5142

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

Preview Lab → · Contrast checker → · Palette generator →

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