#CC5182#CC5182

#CC5182 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.163 H 358.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CC5182
RGBrgb(204, 81, 130)
HSLhsl(336, 55%, 56%)
HSVhsv(336, 60%, 80%)
CMYKcmyk(0%, 60.3%, 36.3%, 20%)
CIE-LABlab(52.22, 53.35, -2.12)
CIE-LCHlch(52.22, 53.39, 357.73°)
OKLaboklab(60.93% 0.1628 -0.0049)
OKLCHoklch(60.93% 0.163 358.3)
XYZxyz(31.8753, 20.3374, 23.3616)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5182 #51CC9B
analogous
#CC51BF #CC5182 #CC5D51
triadic
#CC5182 #82CC51 #5182CC
tetradic
#CC5182 #BFCC51 #51CC9B #5D51CC
square
#CC5182 #BFCC51 #51CC9B #5D51CC
split-complementary
#CC5182 #51CC5D #51BFCC
monochromatic
#7E2548 #AD3363 #CC5182 #DA80A4 #E8B0C6

Accessibility & contrast

On white

4.14
#CC5182 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CC5182 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5182
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5182#FFFFFF#000000##000000
##CC51821.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#666E83
Deuteranopia (green-blind)
#87857F
Tritanopia (blue-blind)
#DB4764
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5182;
/* rgb */ color: rgb(204, 81, 130);
/* oklch */ color: oklch(60.9% 0.163 358.3);
Tailwind
colors: {
  custom: {
    50: '#e088a6',
    500: '#cc5182',
    950: '#000000',
  },
}
SCSS
$custom: #cc5182;
$custom-light: #e088a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5182",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 336.098,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.16287,
    "h": 358.3
  },
  "luminance": 0.20334
}

Semantic roles & 50–950 ramp

primary
#CC5182
secondary
#A3D6C2
accent
#DEA34A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC5182

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

Preview Lab → · Contrast checker → · Palette generator →

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