#CC5168#CC5168

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

Color values

HEX#CC5168
RGBrgb(204, 81, 104)
HSLhsl(349, 55%, 56%)
HSVhsv(349, 60%, 80%)
CMYKcmyk(0%, 60.3%, 49%, 20%)
CIE-LABlab(51.53, 50.68, 12.44)
CIE-LCHlch(51.53, 52.18, 13.79°)
OKLaboklab(60.19% 0.1534 0.0318)
OKLCHoklch(60.19% 0.157 11.7)
XYZxyz(30.3453, 19.7254, 15.3034)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5168 #51CCB5
analogous
#CC51A6 #CC5168 #CC7751
triadic
#CC5168 #68CC51 #5168CC
tetradic
#CC5168 #A6CC51 #51CCB5 #7751CC
square
#CC5168 #A6CC51 #51CCB5 #7751CC
split-complementary
#CC5168 #51CC77 #51A6CC
monochromatic
#7E2535 #AD334A #CC5168 #DA8091 #E8B0BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5168#FFFFFF#000000##000000
##CC51681.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)
#6C6B68
Deuteranopia (green-blind)
#8C8465
Tritanopia (blue-blind)
#DE3F5A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc5168;
/* rgb */ color: rgb(204, 81, 104);
/* oklch */ color: oklch(60.2% 0.157 11.7);
Tailwind
colors: {
  custom: {
    50: '#e18793',
    500: '#cc5168',
    950: '#000000',
  },
}
SCSS
$custom: #cc5168;
$custom-light: #e18793;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5168",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 104
  },
  "hsl": {
    "h": 348.78,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60189,
    "c": 0.15667,
    "h": 11.7
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#CC5168
secondary
#A3D6CC
accent
#DEC24A
background
#FEF8F9
surface
#FDF0F1
border
#D5CBCB
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CC5168

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

Preview Lab → · Contrast checker → · Palette generator →

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