#CC5242#CC5242

#CC5242 is a mid, vivid red. Relative luminance 0.193; OKLCH L 59.6% C 0.158 H 30.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CC5242
RGBrgb(204, 82, 66)
HSLhsl(7, 58%, 53%)
HSVhsv(7, 68%, 80%)
CMYKcmyk(0%, 59.8%, 67.6%, 20%)
CIE-LABlab(51.00, 47.44, 34.08)
CIE-LCHlch(51.00, 58.42, 35.69°)
OKLaboklab(59.57% 0.1373 0.0792)
OKLCHoklch(59.57% 0.158 30)
XYZxyz(28.9054, 19.2692, 7.3504)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5242 #42BCCC
analogous
#CC4277 #CC5242 #CC9742
triadic
#CC5242 #42CC52 #5242CC
tetradic
#CC5242 #77CC42 #42BCCC #9742CC
square
#CC5242 #77CC42 #42BCCC #9742CC
split-complementary
#CC5242 #42CC97 #4277CC
monochromatic
#74291F #A43A2C #CC5242 #D97E72 #E6AAA2

Accessibility & contrast

On white

4.33
#CC5242 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CC5242 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5242
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5242#FFFFFF#000000##000000
##CC52421.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#726940
Deuteranopia (green-blind)
#91833F
Tritanopia (blue-blind)
#E0384F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc5242;
/* rgb */ color: rgb(204, 82, 66);
/* oklch */ color: oklch(59.6% 0.158 30.0);
Tailwind
colors: {
  custom: {
    50: '#e38777',
    500: '#cc5242',
    950: '#000000',
  },
}
SCSS
$custom: #cc5242;
$custom-light: #e38777;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5242",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 66
  },
  "hsl": {
    "h": 6.957,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59568,
    "c": 0.15846,
    "h": 30
  },
  "luminance": 0.19265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5242

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

Preview Lab → · Contrast checker → · Palette generator →

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