#CC5581#CC5581

#CC5581 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.4% C 0.157 H 359.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CC5581
RGBrgb(204, 85, 129)
HSLhsl(338, 54%, 57%)
HSVhsv(338, 58%, 80%)
CMYKcmyk(0%, 58.3%, 36.8%, 20%)
CIE-LABlab(52.86, 51.42, -0.57)
CIE-LCHlch(52.86, 51.42, 359.36°)
OKLaboklab(61.41% 0.1568 -0.0008)
OKLCHoklch(61.41% 0.157 359.7)
XYZxyz(32.1146, 20.9228, 23.1119)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5581 #55CCA0
analogous
#CC55BD #CC5581 #CC6555
triadic
#CC5581 #81CC55 #5581CC
tetradic
#CC5581 #BDCC55 #55CCA0 #6555CC
square
#CC5581 #BDCC55 #55CCA0 #6555CC
split-complementary
#CC5581 #55CC65 #55BDCC
monochromatic
#802648 #AF3562 #CC5581 #DA84A4 #E8B3C7

Accessibility & contrast

On white

4.05
#CC5581 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CC5581 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5581
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5581#FFFFFF#000000##000000
##CC55811.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#697082
Deuteranopia (green-blind)
#89877E
Tritanopia (blue-blind)
#DB4B66
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5581;
/* rgb */ color: rgb(204, 85, 129);
/* oklch */ color: oklch(61.4% 0.157 359.7);
Tailwind
colors: {
  custom: {
    50: '#df8aa5',
    500: '#cc5581',
    950: '#000000',
  },
}
SCSS
$custom: #cc5581;
$custom-light: #df8aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5581",
  "rgb": {
    "r": 204,
    "g": 85,
    "b": 129
  },
  "hsl": {
    "h": 337.815,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.15679,
    "h": 359.7
  },
  "luminance": 0.20919
}

Semantic roles & 50–950 ramp

primary
#CC5581
secondary
#A6D7C5
accent
#DDA74B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC5581

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

Preview Lab → · Contrast checker → · Palette generator →

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