#CC5156#CC5156

#CC5156 is a mid, vivid red. Relative luminance 0.194; OKLCH L 59.8% C 0.157 H 20.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC5156
RGBrgb(204, 81, 86)
HSLhsl(358, 55%, 56%)
HSVhsv(358, 60%, 80%)
CMYKcmyk(0%, 60.3%, 57.8%, 20%)
CIE-LABlab(51.15, 49.19, 22.65)
CIE-LCHlch(51.15, 54.16, 24.72°)
OKLaboklab(59.78% 0.1464 0.0554)
OKLCHoklch(59.78% 0.157 20.7)
XYZxyz(29.5266, 19.3979, 10.9916)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5156 #51CCC7
analogous
#CC5193 #CC5156 #CC8951
triadic
#CC5156 #56CC51 #5156CC
tetradic
#CC5156 #93CC51 #51CCC7 #8951CC
square
#CC5156 #93CC51 #51CCC7 #8951CC
split-complementary
#CC5156 #51CC89 #5193CC
monochromatic
#7E2528 #AD3338 #CC5156 #DA8084 #E8B0B2

Accessibility & contrast

On white

4.30
#CC5156 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CC5156 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5156
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5156#FFFFFF#000000##000000
##CC51561.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6A55
Deuteranopia (green-blind)
#8E8453
Tritanopia (blue-blind)
#DF3A54
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc5156;
/* rgb */ color: rgb(204, 81, 86);
/* oklch */ color: oklch(59.8% 0.157 20.7);
Tailwind
colors: {
  custom: {
    50: '#e18785',
    500: '#cc5156',
    950: '#000000',
  },
}
SCSS
$custom: #cc5156;
$custom-light: #e18785;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5156",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 86
  },
  "hsl": {
    "h": 357.561,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59784,
    "c": 0.15651,
    "h": 20.7
  },
  "luminance": 0.19394
}

Semantic roles & 50–950 ramp

primary
#CC5156
secondary
#A3D6D4
accent
#DED84A
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#160C0B
muted
#847D7C

Preview Lab

Preview with #CC5156

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

Preview Lab → · Contrast checker → · Palette generator →

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