#CC5162#CC5162

#CC5162 is a mid, vivid red. Relative luminance 0.196; OKLCH L 60.0% C 0.156 H 14.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CC5162
RGBrgb(204, 81, 98)
HSLhsl(352, 55%, 56%)
HSVhsv(352, 60%, 80%)
CMYKcmyk(0%, 60.3%, 52%, 20%)
CIE-LABlab(51.39, 50.15, 15.84)
CIE-LCHlch(51.39, 52.59, 17.53°)
OKLaboklab(60.04% 0.1511 0.0399)
OKLCHoklch(60.04% 0.156 14.8)
XYZxyz(30.0513, 19.6078, 13.7551)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5162 #51CCBB
analogous
#CC519F #CC5162 #CC7D51
triadic
#CC5162 #62CC51 #5162CC
tetradic
#CC5162 #9FCC51 #51CCBB #7D51CC
square
#CC5162 #9FCC51 #51CCBB #7D51CC
split-complementary
#CC5162 #51CC7D #519FCC
monochromatic
#7E2531 #AD3344 #CC5162 #DA808D #E8B0B7

Accessibility & contrast

On white

4.27
#CC5162 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CC5162 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5162
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5162#FFFFFF#000000##000000
##CC51621.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D6B62
Deuteranopia (green-blind)
#8D845F
Tritanopia (blue-blind)
#DE3D58
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc5162;
/* rgb */ color: rgb(204, 81, 98);
/* oklch */ color: oklch(60.0% 0.156 14.8);
Tailwind
colors: {
  custom: {
    50: '#e1878e',
    500: '#cc5162',
    950: '#000000',
  },
}
SCSS
$custom: #cc5162;
$custom-light: #e1878e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5162",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 351.707,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60044,
    "c": 0.15626,
    "h": 14.8
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#CC5162
secondary
#A3D6CF
accent
#DECA4A
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#160C0C
muted
#847D7D

Preview Lab

Preview with #CC5162

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

Preview Lab → · Contrast checker → · Palette generator →

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