#CC5245#CC5245

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

Color values

HEX#CC5245
RGBrgb(204, 82, 69)
HSLhsl(6, 57%, 54%)
HSVhsv(6, 66%, 80%)
CMYKcmyk(0%, 59.8%, 66.2%, 20%)
CIE-LABlab(51.04, 47.61, 32.43)
CIE-LCHlch(51.04, 57.61, 34.26°)
OKLaboklab(59.61% 0.1384 0.0759)
OKLCHoklch(59.61% 0.158 28.8)
XYZxyz(28.9961, 19.3055, 7.8285)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5245 #45BFCC
analogous
#CC457B #CC5245 #CC9545
triadic
#CC5245 #45CC52 #5245CC
tetradic
#CC5245 #7BCC45 #45BFCC #9545CC
square
#CC5245 #7BCC45 #45BFCC #9545CC
split-complementary
#CC5245 #45CC95 #457BCC
monochromatic
#762920 #A6392E #CC5245 #D97F75 #E6ABA5

Accessibility & contrast

On white

4.32
#CC5245 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CC5245 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5245
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5245#FFFFFF#000000##000000
##CC52451.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#726943
Deuteranopia (green-blind)
#908342
Tritanopia (blue-blind)
#DF3850
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc5245;
/* rgb */ color: rgb(204, 82, 69);
/* oklch */ color: oklch(59.6% 0.158 28.8);
Tailwind
colors: {
  custom: {
    50: '#e28779',
    500: '#cc5245',
    950: '#000000',
  },
}
SCSS
$custom: #cc5245;
$custom-light: #e28779;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5245",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 69
  },
  "hsl": {
    "h": 5.778,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59613,
    "c": 0.15784,
    "h": 28.8
  },
  "luminance": 0.19302
}

Semantic roles & 50–950 ramp

primary
#CC5245
secondary
#99CED3
accent
#D2E048
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C09
muted
#857D7B

Preview Lab

Preview with #CC5245

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

Preview Lab → · Contrast checker → · Palette generator →

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