#CC487F#CC487F

#CC487F is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.8% C 0.174 H 358.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CC487F
RGBrgb(204, 72, 127)
HSLhsl(335, 56%, 54%)
HSVhsv(335, 65%, 80%)
CMYKcmyk(0%, 64.7%, 37.7%, 20%)
CIE-LABlab(50.70, 56.88, -2.56)
CIE-LCHlch(50.70, 56.94, 357.43°)
OKLaboklab(59.77% 0.174 -0.006)
OKLCHoklch(59.77% 0.174 358)
XYZxyz(31.0519, 19.0080, 22.1082)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC487F #48CC95
analogous
#CC48C1 #CC487F #CC5348
triadic
#CC487F #7FCC48 #487FCC
tetradic
#CC487F #C1CC48 #48CC95 #5348CC
square
#CC487F #C1CC48 #48CC95 #5348CC
split-complementary
#CC487F #48CC53 #48C1CC
monochromatic
#782146 #A82F61 #CC487F #D978A0 #E7A8C2

Accessibility & contrast

On white

4.37
#CC487F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CC487F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC487F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC487F#FFFFFF#000000##000000
##CC487F1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#606981
Deuteranopia (green-blind)
#84827C
Tritanopia (blue-blind)
#DC3B5E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc487f;
/* rgb */ color: rgb(204, 72, 127);
/* oklch */ color: oklch(59.8% 0.174 358.0);
Tailwind
colors: {
  custom: {
    50: '#e083a4',
    500: '#cc487f',
    950: '#000000',
  },
}
SCSS
$custom: #cc487f;
$custom-light: #e083a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc487f",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 335,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59773,
    "c": 0.17406,
    "h": 358
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#CC487F
secondary
#9CD4BD
accent
#E0A148
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC487F

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

Preview Lab → · Contrast checker → · Palette generator →

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