#CC5187#CC5187

#CC5187 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.1% C 0.165 H 355.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC5187
RGBrgb(204, 81, 135)
HSLhsl(334, 55%, 56%)
HSVhsv(334, 60%, 80%)
CMYKcmyk(0%, 60.3%, 33.8%, 20%)
CIE-LABlab(52.37, 53.93, -4.87)
CIE-LCHlch(52.37, 54.15, 354.84°)
OKLaboklab(61.1% 0.1644 -0.0121)
OKLCHoklch(61.1% 0.165 355.8)
XYZxyz(32.2191, 20.4749, 25.1723)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5187 #51CC96
analogous
#CC51C4 #CC5187 #CC5851
triadic
#CC5187 #87CC51 #5187CC
tetradic
#CC5187 #C4CC51 #51CC96 #5851CC
square
#CC5187 #C4CC51 #51CC96 #5851CC
split-complementary
#CC5187 #51CC58 #51C4CC
monochromatic
#7E254C #AD3368 #CC5187 #DA80A8 #E8B0C8

Accessibility & contrast

On white

4.12
#CC5187 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CC5187 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5187
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5187#FFFFFF#000000##000000
##CC51871.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#656F89
Deuteranopia (green-blind)
#868584
Tritanopia (blue-blind)
#DB4866
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5187;
/* rgb */ color: rgb(204, 81, 135);
/* oklch */ color: oklch(61.1% 0.165 355.8);
Tailwind
colors: {
  custom: {
    50: '#df88a9',
    500: '#cc5187',
    950: '#000000',
  },
}
SCSS
$custom: #cc5187;
$custom-light: #df88a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5187",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 333.659,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61096,
    "c": 0.16487,
    "h": 355.8
  },
  "luminance": 0.20471
}

Semantic roles & 50–950 ramp

primary
#CC5187
secondary
#A3D6C0
accent
#DE9D4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC5187

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

Preview Lab → · Contrast checker → · Palette generator →

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