#CC5051#CC5051

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

Color values

HEX#CC5051
RGBrgb(204, 80, 81)
HSLhsl(360, 55%, 56%)
HSVhsv(360, 61%, 80%)
CMYKcmyk(0%, 60.8%, 60.3%, 20%)
CIE-LABlab(50.89, 49.29, 25.26)
CIE-LCHlch(50.89, 55.39, 27.14°)
OKLaboklab(59.56% 0.1458 0.0611)
OKLCHoklch(59.56% 0.158 22.7)
XYZxyz(29.2584, 19.1726, 9.9429)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5051 #50CCCB
analogous
#CC508F #CC5051 #CC8D50
triadic
#CC5051 #51CC50 #5051CC
tetradic
#CC5051 #8FCC50 #50CCCB #8D50CC
square
#CC5051 #8FCC50 #50CCCB #8D50CC
split-complementary
#CC5051 #50CC8D #508FCC
monochromatic
#7D2425 #AD3233 #CC5051 #DA7F80 #E8AFAF

Accessibility & contrast

On white

4.34
#CC5051 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5051#FFFFFF#000000##000000
##CC50511.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6950
Deuteranopia (green-blind)
#8E834E
Tritanopia (blue-blind)
#DF3851
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc5051;
/* rgb */ color: rgb(204, 80, 81);
/* oklch */ color: oklch(59.6% 0.158 22.7);
Tailwind
colors: {
  custom: {
    50: '#e28681',
    500: '#cc5051',
    950: '#000000',
  },
}
SCSS
$custom: #cc5051;
$custom-light: #e28681;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5051",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 81
  },
  "hsl": {
    "h": 359.516,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59559,
    "c": 0.15811,
    "h": 22.7
  },
  "luminance": 0.19169
}

Semantic roles & 50–950 ramp

primary
#CC5051
secondary
#A2D6D5
accent
#DEDD4A
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #CC5051

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

Preview Lab → · Contrast checker → · Palette generator →

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