#CC5184#CC5184

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

Color values

HEX#CC5184
RGBrgb(204, 81, 132)
HSLhsl(335, 55%, 56%)
HSVhsv(335, 60%, 80%)
CMYKcmyk(0%, 60.3%, 35.3%, 20%)
CIE-LABlab(52.28, 53.58, -3.22)
CIE-LCHlch(52.28, 53.67, 356.56°)
OKLaboklab(61% 0.1635 -0.0078)
OKLCHoklch(61% 0.164 357.3)
XYZxyz(32.0109, 20.3916, 24.0755)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5184 #51CC99
analogous
#CC51C1 #CC5184 #CC5B51
triadic
#CC5184 #84CC51 #5184CC
tetradic
#CC5184 #C1CC51 #51CC99 #5B51CC
square
#CC5184 #C1CC51 #51CC99 #5B51CC
split-complementary
#CC5184 #51CC5B #51C1CC
monochromatic
#7E254A #AD3365 #CC5184 #DA80A5 #E8B0C7

Accessibility & contrast

On white

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

On black

5.08
#CC5184 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5184
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5184#FFFFFF#000000##000000
##CC51841.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#656E85
Deuteranopia (green-blind)
#868581
Tritanopia (blue-blind)
#DB4765
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5184;
/* rgb */ color: rgb(204, 81, 132);
/* oklch */ color: oklch(61.0% 0.164 357.3);
Tailwind
colors: {
  custom: {
    50: '#df88a7',
    500: '#cc5184',
    950: '#000000',
  },
}
SCSS
$custom: #cc5184;
$custom-light: #df88a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5184",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 132
  },
  "hsl": {
    "h": 335.122,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60996,
    "c": 0.16364,
    "h": 357.3
  },
  "luminance": 0.20388
}

Semantic roles & 50–950 ramp

primary
#CC5184
secondary
#A3D6C1
accent
#DEA14A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC5184

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

Preview Lab → · Contrast checker → · Palette generator →

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