#CC5145#CC5145

#CC5145 is a mid, vivid red. Relative luminance 0.192; OKLCH L 59.5% C 0.159 H 28.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CC5145
RGBrgb(204, 81, 69)
HSLhsl(5, 57%, 54%)
HSVhsv(5, 66%, 80%)
CMYKcmyk(0%, 60.3%, 66.2%, 20%)
CIE-LABlab(50.87, 48.07, 32.22)
CIE-LCHlch(50.87, 57.87, 33.83°)
OKLaboklab(59.48% 0.1398 0.0755)
OKLCHoklch(59.48% 0.159 28.4)
XYZxyz(28.9213, 19.1558, 7.8036)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5145 #45C0CC
analogous
#CC457C #CC5145 #CC9445
triadic
#CC5145 #45CC51 #5145CC
tetradic
#CC5145 #7CCC45 #45C0CC #9445CC
square
#CC5145 #7CCC45 #45C0CC #9445CC
split-complementary
#CC5145 #45CC94 #457CCC
monochromatic
#762820 #A6382E #CC5145 #D97E75 #E6ABA5

Accessibility & contrast

On white

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

On black

4.83
#CC5145 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5145
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5145#FFFFFF#000000##000000
##CC51451.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc5145;
/* rgb */ color: rgb(204, 81, 69);
/* oklch */ color: oklch(59.5% 0.159 28.4);
Tailwind
colors: {
  custom: {
    50: '#e28779',
    500: '#cc5145',
    950: '#000000',
  },
}
SCSS
$custom: #cc5145;
$custom-light: #e28779;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5145",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 5.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59482,
    "c": 0.15888,
    "h": 28.4
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5145

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

Preview Lab → · Contrast checker → · Palette generator →

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