#CC5487#CC5487

#CC5487 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.5% C 0.161 H 356.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CC5487
RGBrgb(204, 84, 135)
HSLhsl(335, 54%, 56%)
HSVhsv(335, 59%, 80%)
CMYKcmyk(0%, 58.8%, 33.8%, 20%)
CIE-LABlab(52.87, 52.58, -4.12)
CIE-LCHlch(52.87, 52.74, 355.51°)
OKLaboklab(61.47% 0.1602 -0.0102)
OKLCHoklch(61.47% 0.161 356.4)
XYZxyz(32.4470, 20.9307, 25.2482)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5487 #54CC99
analogous
#CC54C3 #CC5487 #CC5D54
triadic
#CC5487 #87CC54 #5487CC
tetradic
#CC5487 #C3CC54 #54CC99 #5D54CC
square
#CC5487 #C3CC54 #54CC99 #5D54CC
split-complementary
#CC5487 #54CC5D #54C3CC
monochromatic
#80264C #AF3468 #CC5487 #DA83A8 #E8B2C9

Accessibility & contrast

On white

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

On black

5.19
#CC5487 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5487
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5487#FFFFFF#000000##000000
##CC54871.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#677089
Deuteranopia (green-blind)
#878684
Tritanopia (blue-blind)
#DB4B68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5487;
/* rgb */ color: rgb(204, 84, 135);
/* oklch */ color: oklch(61.5% 0.161 356.4);
Tailwind
colors: {
  custom: {
    50: '#df8aa9',
    500: '#cc5487',
    950: '#000000',
  },
}
SCSS
$custom: #cc5487;
$custom-light: #df8aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5487",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 334.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6147,
    "c": 0.16053,
    "h": 356.4
  },
  "luminance": 0.20927
}

Semantic roles & 50–950 ramp

primary
#CC5487
secondary
#A5D7C2
accent
#DD9F4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC5487

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

Preview Lab → · Contrast checker → · Palette generator →

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