#CC5166#CC5166

#CC5166 is a mid, vivid red. Relative luminance 0.197; OKLCH L 60.1% C 0.156 H 12.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CC5166
RGBrgb(204, 81, 102)
HSLhsl(350, 55%, 56%)
HSVhsv(350, 60%, 80%)
CMYKcmyk(0%, 60.3%, 50%, 20%)
CIE-LABlab(51.48, 50.50, 13.57)
CIE-LCHlch(51.48, 52.29, 15.04°)
OKLaboklab(60.14% 0.1526 0.0346)
OKLCHoklch(60.14% 0.156 12.8)
XYZxyz(30.2449, 19.6852, 14.7747)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5166 #51CCB7
analogous
#CC51A3 #CC5166 #CC7951
triadic
#CC5166 #66CC51 #5166CC
tetradic
#CC5166 #A3CC51 #51CCB7 #7951CC
square
#CC5166 #A3CC51 #51CCB7 #7951CC
split-complementary
#CC5166 #51CC79 #51A3CC
monochromatic
#7E2534 #AD3348 #CC5166 #DA8090 #E8B0B9

Accessibility & contrast

On white

4.25
#CC5166 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CC5166 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5166
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5166#FFFFFF#000000##000000
##CC51661.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C6B66
Deuteranopia (green-blind)
#8C8463
Tritanopia (blue-blind)
#DE3E59
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc5166;
/* rgb */ color: rgb(204, 81, 102);
/* oklch */ color: oklch(60.1% 0.156 12.8);
Tailwind
colors: {
  custom: {
    50: '#e18791',
    500: '#cc5166',
    950: '#000000',
  },
}
SCSS
$custom: #cc5166;
$custom-light: #e18791;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5166",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 349.756,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60139,
    "c": 0.15649,
    "h": 12.8
  },
  "luminance": 0.19682
}

Semantic roles & 50–950 ramp

primary
#CC5166
secondary
#A3D6CD
accent
#DEC54A
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#160C0C
muted
#847D7D

Preview Lab

Preview with #CC5166

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

Preview Lab → · Contrast checker → · Palette generator →

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