#CC5793#CC5793

#CC5793 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.3% C 0.162 H 350.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CC5793
RGBrgb(204, 87, 147)
HSLhsl(329, 53%, 57%)
HSVhsv(329, 57%, 80%)
CMYKcmyk(0%, 57.4%, 27.9%, 20%)
CIE-LABlab(53.78, 52.71, -9.88)
CIE-LCHlch(53.78, 53.62, 349.38°)
OKLaboklab(62.27% 0.1597 -0.0256)
OKLCHoklch(62.27% 0.162 350.9)
XYZxyz(33.5778, 21.7636, 30.0305)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5793 #57CC90
analogous
#CB57CC #CC5793 #CC5758
triadic
#CC5793 #93CC57 #5793CC
tetradic
#CC5793 #CCCB57 #57CC90 #5758CC
square
#CC5793 #CCCB57 #57CC90 #5758CC
split-complementary
#CC5793 #58CC57 #57CCCB
monochromatic
#812755 #B03674 #CC5793 #DA86B1 #E9B5CF

Accessibility & contrast

On white

3.92
#CC5793 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#CC5793 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5793
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5793#FFFFFF#000000##000000
##CC57931.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#667395
Deuteranopia (green-blind)
#868890
Tritanopia (blue-blind)
#DA526E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc5793;
/* rgb */ color: rgb(204, 87, 147);
/* oklch */ color: oklch(62.3% 0.162 350.9);
Tailwind
colors: {
  custom: {
    50: '#df8bb2',
    500: '#cc5793',
    950: '#000000',
  },
}
SCSS
$custom: #cc5793;
$custom-light: #df8bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5793",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 147
  },
  "hsl": {
    "h": 329.231,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62268,
    "c": 0.16171,
    "h": 350.9
  },
  "luminance": 0.2176
}

Semantic roles & 50–950 ramp

primary
#CC5793
secondary
#A8D7BF
accent
#DD924B
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5793

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

Preview Lab → · Contrast checker → · Palette generator →

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