#CC5186#CC5186

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

Color values

HEX#CC5186
RGBrgb(204, 81, 134)
HSLhsl(334, 55%, 56%)
HSVhsv(334, 60%, 80%)
CMYKcmyk(0%, 60.3%, 34.3%, 20%)
CIE-LABlab(52.34, 53.81, -4.32)
CIE-LCHlch(52.34, 53.98, 355.41°)
OKLaboklab(61.06% 0.1641 -0.0107)
OKLCHoklch(61.06% 0.164 356.3)
XYZxyz(32.1491, 20.4469, 24.8032)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5186 #51CC97
analogous
#CC51C4 #CC5186 #CC5951
triadic
#CC5186 #86CC51 #5186CC
tetradic
#CC5186 #C4CC51 #51CC97 #5951CC
square
#CC5186 #C4CC51 #51CC97 #5951CC
split-complementary
#CC5186 #51CC59 #51C4CC
monochromatic
#7E254B #AD3367 #CC5186 #DA80A7 #E8B0C8

Accessibility & contrast

On white

4.13
#CC5186 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5186#FFFFFF#000000##000000
##CC51861.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc5186;
/* rgb */ color: rgb(204, 81, 134);
/* oklch */ color: oklch(61.1% 0.164 356.3);
Tailwind
colors: {
  custom: {
    50: '#df88a9',
    500: '#cc5186',
    950: '#000000',
  },
}
SCSS
$custom: #cc5186;
$custom-light: #df88a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5186",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 334.146,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61062,
    "c": 0.16445,
    "h": 356.3
  },
  "luminance": 0.20443
}

Semantic roles & 50–950 ramp

primary
#CC5186
secondary
#A3D6C0
accent
#DE9E4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC5186

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

Preview Lab → · Contrast checker → · Palette generator →

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