#CC5045#CC5045

#CC5045 is a mid, vivid red. Relative luminance 0.190; OKLCH L 59.4% C 0.160 H 28.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CC5045
RGBrgb(204, 80, 69)
HSLhsl(5, 57%, 54%)
HSVhsv(5, 66%, 80%)
CMYKcmyk(0%, 60.8%, 66.2%, 20%)
CIE-LABlab(50.70, 48.53, 32.01)
CIE-LCHlch(50.70, 58.13, 33.41°)
OKLaboklab(59.35% 0.1412 0.075)
OKLCHoklch(59.35% 0.16 28)
XYZxyz(28.8475, 19.0082, 7.7790)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5045 #45C1CC
analogous
#CC457D #CC5045 #CC9345
triadic
#CC5045 #45CC50 #5045CC
tetradic
#CC5045 #7DCC45 #45C1CC #9345CC
square
#CC5045 #7DCC45 #45C1CC #9345CC
split-complementary
#CC5045 #45CC93 #457DCC
monochromatic
#762720 #A6372E #CC5045 #D97D75 #E6AAA5

Accessibility & contrast

On white

4.37
#CC5045 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CC5045 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5045
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5045#FFFFFF#000000##000000
##CC50451.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#716843
Deuteranopia (green-blind)
#908342
Tritanopia (blue-blind)
#DF354E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc5045;
/* rgb */ color: rgb(204, 80, 69);
/* oklch */ color: oklch(59.4% 0.160 28.0);
Tailwind
colors: {
  custom: {
    50: '#e28679',
    500: '#cc5045',
    950: '#000000',
  },
}
SCSS
$custom: #cc5045;
$custom-light: #e28679;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5045",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 69
  },
  "hsl": {
    "h": 4.889,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.15992,
    "h": 28
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#CC5045
secondary
#99CFD3
accent
#D4E048
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170B09
muted
#857C7B

Preview Lab

Preview with #CC5045

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

Preview Lab → · Contrast checker → · Palette generator →

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