#CC5982#CC5982

#CC5982 is a mid, vivid pink. Relative luminance 0.216; OKLCH L 62.0% C 0.151 H 0.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CC5982
RGBrgb(204, 89, 130)
HSLhsl(339, 53%, 57%)
HSVhsv(339, 56%, 80%)
CMYKcmyk(0%, 56.4%, 36.3%, 20%)
CIE-LABlab(53.60, 49.67, -0.10)
CIE-LCHlch(53.60, 49.67, 359.89°)
OKLaboklab(61.96% 0.1513 0.0004)
OKLCHoklch(61.96% 0.151 0.1)
XYZxyz(32.5053, 21.5972, 23.5716)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5982 #59CCA3
analogous
#CC59BB #CC5982 #CC6A59
triadic
#CC5982 #82CC59 #5982CC
tetradic
#CC5982 #BBCC59 #59CCA3 #6A59CC
square
#CC5982 #BBCC59 #59CCA3 #6A59CC
split-complementary
#CC5982 #59CC6A #59BBCC
monochromatic
#832848 #B13662 #CC5982 #DA88A5 #E9B7C9

Accessibility & contrast

On white

3.95
#CC5982 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CC5982 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5982
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5982#FFFFFF#000000##000000
##CC59821.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7283
Deuteranopia (green-blind)
#8B887F
Tritanopia (blue-blind)
#DB4F68
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc5982;
/* rgb */ color: rgb(204, 89, 130);
/* oklch */ color: oklch(62.0% 0.151 0.1);
Tailwind
colors: {
  custom: {
    50: '#df8ca6',
    500: '#cc5982',
    950: '#000000',
  },
}
SCSS
$custom: #cc5982;
$custom-light: #df8ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5982",
  "rgb": {
    "r": 204,
    "g": 89,
    "b": 130
  },
  "hsl": {
    "h": 338.609,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61961,
    "c": 0.15132,
    "h": 0.1
  },
  "luminance": 0.21594
}

Semantic roles & 50–950 ramp

primary
#CC5982
secondary
#A9D8C7
accent
#DCA94B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC5982

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

Preview Lab → · Contrast checker → · Palette generator →

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