#CC5782#CC5782

#CC5782 is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.7% C 0.154 H 359.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CC5782
RGBrgb(204, 87, 130)
HSLhsl(338, 53%, 57%)
HSVhsv(338, 57%, 80%)
CMYKcmyk(0%, 57.4%, 36.3%, 20%)
CIE-LABlab(53.24, 50.61, -0.61)
CIE-LCHlch(53.24, 50.61, 359.31°)
OKLaboklab(61.7% 0.1543 -0.001)
OKLCHoklch(61.7% 0.154 359.6)
XYZxyz(32.3411, 21.2689, 23.5169)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5782 #57CCA1
analogous
#CC57BC #CC5782 #CC6757
triadic
#CC5782 #82CC57 #5782CC
tetradic
#CC5782 #BCCC57 #57CCA1 #6757CC
square
#CC5782 #BCCC57 #57CCA1 #6757CC
split-complementary
#CC5782 #57CC67 #57BCCC
monochromatic
#812748 #B03663 #CC5782 #DA86A5 #E9B5C8

Accessibility & contrast

On white

4.00
#CC5782 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CC5782 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5782
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5782#FFFFFF#000000##000000
##CC57821.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7183
Deuteranopia (green-blind)
#8A877F
Tritanopia (blue-blind)
#DB4D67
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc5782;
/* rgb */ color: rgb(204, 87, 130);
/* oklch */ color: oklch(61.7% 0.154 359.6);
Tailwind
colors: {
  custom: {
    50: '#df8ba6',
    500: '#cc5782',
    950: '#000000',
  },
}
SCSS
$custom: #cc5782;
$custom-light: #df8ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5782",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 130
  },
  "hsl": {
    "h": 337.949,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61696,
    "c": 0.15425,
    "h": 359.6
  },
  "luminance": 0.21265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5782

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

Preview Lab → · Contrast checker → · Palette generator →

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