#CC487A#CC487A

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

Color values

HEX#CC487A
RGBrgb(204, 72, 122)
HSLhsl(337, 56%, 54%)
HSVhsv(337, 65%, 80%)
CMYKcmyk(0%, 64.7%, 40.2%, 20%)
CIE-LABlab(50.55, 56.34, 0.23)
CIE-LCHlch(50.55, 56.34, 0.23°)
OKLaboklab(59.61% 0.1723 0.0013)
OKLCHoklch(59.61% 0.172 0.4)
XYZxyz(30.7341, 18.8808, 20.4344)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC487A #48CC9A
analogous
#CC48BC #CC487A #CC5848
triadic
#CC487A #7ACC48 #487ACC
tetradic
#CC487A #BCCC48 #48CC9A #5848CC
square
#CC487A #BCCC48 #48CC9A #5848CC
split-complementary
#CC487A #48CC58 #48BCCC
monochromatic
#782142 #A82F5D #CC487A #D9789D #E7A8C0

Accessibility & contrast

On white

4.40
#CC487A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC487A#FFFFFF#000000##000000
##CC487A1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc487a;
/* rgb */ color: rgb(204, 72, 122);
/* oklch */ color: oklch(59.6% 0.172 0.4);
Tailwind
colors: {
  custom: {
    50: '#e083a0',
    500: '#cc487a',
    950: '#000000',
  },
}
SCSS
$custom: #cc487a;
$custom-light: #e083a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc487a",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 337.273,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59614,
    "c": 0.1723,
    "h": 0.4
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#CC487A
secondary
#9CD4BF
accent
#E0A648
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC487A

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

Preview Lab → · Contrast checker → · Palette generator →

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