#CC5157#CC5157

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

Color values

HEX#CC5157
RGBrgb(204, 81, 87)
HSLhsl(357, 55%, 56%)
HSVhsv(357, 60%, 80%)
CMYKcmyk(0%, 60.3%, 57.4%, 20%)
CIE-LABlab(51.17, 49.27, 22.08)
CIE-LCHlch(51.17, 53.99, 24.14°)
OKLaboklab(59.8% 0.1468 0.0542)
OKLCHoklch(59.8% 0.156 20.3)
XYZxyz(29.5672, 19.4141, 11.2053)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5157 #51CCC6
analogous
#CC5194 #CC5157 #CC8851
triadic
#CC5157 #57CC51 #5157CC
tetradic
#CC5157 #94CC51 #51CCC6 #8851CC
square
#CC5157 #94CC51 #51CCC6 #8851CC
split-complementary
#CC5157 #51CC88 #5194CC
monochromatic
#7E2529 #AD3339 #CC5157 #DA8085 #E8B0B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5157#FFFFFF#000000##000000
##CC51571.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)
#6F6A56
Deuteranopia (green-blind)
#8E8454
Tritanopia (blue-blind)
#DF3B54
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc5157;
/* rgb */ color: rgb(204, 81, 87);
/* oklch */ color: oklch(59.8% 0.156 20.3);
Tailwind
colors: {
  custom: {
    50: '#e18786',
    500: '#cc5157',
    950: '#000000',
  },
}
SCSS
$custom: #cc5157;
$custom-light: #e18786;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5157",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 87
  },
  "hsl": {
    "h": 357.073,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59804,
    "c": 0.15643,
    "h": 20.3
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#CC5157
secondary
#A3D6D3
accent
#DED74A
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#160C0B
muted
#847D7C

Preview Lab

Preview with #CC5157

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

Preview Lab → · Contrast checker → · Palette generator →

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