#CC487B#CC487B

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

Color values

HEX#CC487B
RGBrgb(204, 72, 123)
HSLhsl(337, 56%, 54%)
HSVhsv(337, 65%, 80%)
CMYKcmyk(0%, 64.7%, 39.7%, 20%)
CIE-LABlab(50.58, 56.45, -0.33)
CIE-LCHlch(50.58, 56.45, 359.67°)
OKLaboklab(59.65% 0.1726 -0.0002)
OKLCHoklch(59.65% 0.173 359.9)
XYZxyz(30.7964, 18.9058, 20.7624)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC487B #48CC99
analogous
#CC48BD #CC487B #CC5748
triadic
#CC487B #7BCC48 #487BCC
tetradic
#CC487B #BDCC48 #48CC99 #5748CC
square
#CC487B #BDCC48 #48CC99 #5748CC
split-complementary
#CC487B #48CC57 #48BDCC
monochromatic
#782143 #A82F5E #CC487B #D9789E #E7A8C0

Accessibility & contrast

On white

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

On black

4.78
#CC487B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC487B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC487B#FFFFFF#000000##000000
##CC487B1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#61687C
Deuteranopia (green-blind)
#848278
Tritanopia (blue-blind)
#DC3A5C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc487b;
/* rgb */ color: rgb(204, 72, 123);
/* oklch */ color: oklch(59.6% 0.173 359.9);
Tailwind
colors: {
  custom: {
    50: '#e083a1',
    500: '#cc487b',
    950: '#000000',
  },
}
SCSS
$custom: #cc487b;
$custom-light: #e083a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc487b",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 336.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59645,
    "c": 0.17264,
    "h": 359.9
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#CC487B
secondary
#9CD4BE
accent
#E0A548
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC487B

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

Preview Lab → · Contrast checker → · Palette generator →

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