#CC487C#CC487C

#CC487C is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.173 H 359.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC487C
RGBrgb(204, 72, 124)
HSLhsl(336, 56%, 54%)
HSVhsv(336, 65%, 80%)
CMYKcmyk(0%, 64.7%, 39.2%, 20%)
CIE-LABlab(50.61, 56.56, -0.89)
CIE-LCHlch(50.61, 56.56, 359.10°)
OKLaboklab(59.68% 0.173 -0.0016)
OKLCHoklch(59.68% 0.173 359.5)
XYZxyz(30.8593, 18.9309, 21.0938)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC487C #48CC98
analogous
#CC48BE #CC487C #CC5648
triadic
#CC487C #7CCC48 #487CCC
tetradic
#CC487C #BECC48 #48CC98 #5648CC
square
#CC487C #BECC48 #48CC98 #5648CC
split-complementary
#CC487C #48CC56 #48BECC
monochromatic
#782144 #A82F5F #CC487C #D9789E #E7A8C1

Accessibility & contrast

On white

4.39
#CC487C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CC487C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC487C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC487C#FFFFFF#000000##000000
##CC487C1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697D
Deuteranopia (green-blind)
#848279
Tritanopia (blue-blind)
#DC3A5D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc487c;
/* rgb */ color: rgb(204, 72, 124);
/* oklch */ color: oklch(59.7% 0.173 359.5);
Tailwind
colors: {
  custom: {
    50: '#e083a1',
    500: '#cc487c',
    950: '#000000',
  },
}
SCSS
$custom: #cc487c;
$custom-light: #e083a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc487c",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 336.364,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.17298,
    "h": 359.5
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

primary
#CC487C
secondary
#9CD4BE
accent
#E0A448
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CC487C

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

Preview Lab → · Contrast checker → · Palette generator →

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