#CC5A87#CC5A87

#CC5A87 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.3% C 0.152 H 357.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CC5A87
RGBrgb(204, 90, 135)
HSLhsl(336, 53%, 58%)
HSVhsv(336, 56%, 80%)
CMYKcmyk(0%, 55.9%, 33.8%, 20%)
CIE-LABlab(53.92, 49.79, -2.58)
CIE-LCHlch(53.92, 49.86, 357.04°)
OKLaboklab(62.25% 0.1516 -0.0061)
OKLCHoklch(62.25% 0.152 357.7)
XYZxyz(32.9328, 21.9023, 25.4101)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A87 #5ACC9F
analogous
#CC5AC0 #CC5A87 #CC665A
triadic
#CC5A87 #87CC5A #5A87CC
tetradic
#CC5A87 #C0CC5A #5ACC9F #665ACC
square
#CC5A87 #C0CC5A #5ACC9F #665ACC
split-complementary
#CC5A87 #5ACC66 #5AC0CC
monochromatic
#83294C #B23767 #CC5A87 #DA89A9 #E9B7CB

Accessibility & contrast

On white

3.90
#CC5A87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#CC5A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5A87
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5A87#FFFFFF#000000##000000
##CC5A871.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7488
Deuteranopia (green-blind)
#8A8984
Tritanopia (blue-blind)
#DB526B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc5a87;
/* rgb */ color: rgb(204, 90, 135);
/* oklch */ color: oklch(62.3% 0.152 357.7);
Tailwind
colors: {
  custom: {
    50: '#df8da9',
    500: '#cc5a87',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a87;
$custom-light: #df8da9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a87",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 135
  },
  "hsl": {
    "h": 336.316,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62254,
    "c": 0.15167,
    "h": 357.7
  },
  "luminance": 0.21899
}

Semantic roles & 50–950 ramp

primary
#CC5A87
secondary
#AAD8C6
accent
#DCA34C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC5A87

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

Preview Lab → · Contrast checker → · Palette generator →

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