#CC487E#CC487E

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

Color values

HEX#CC487E
RGBrgb(204, 72, 126)
HSLhsl(335, 56%, 54%)
HSVhsv(335, 65%, 80%)
CMYKcmyk(0%, 64.7%, 38.2%, 20%)
CIE-LABlab(50.67, 56.77, -2.00)
CIE-LCHlch(50.67, 56.81, 357.98°)
OKLaboklab(59.74% 0.1736 -0.0045)
OKLCHoklch(59.74% 0.174 358.5)
XYZxyz(30.9870, 18.9820, 21.7667)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC487E #48CC96
analogous
#CC48C0 #CC487E #CC5448
triadic
#CC487E #7ECC48 #487ECC
tetradic
#CC487E #C0CC48 #48CC96 #5448CC
square
#CC487E #C0CC48 #48CC96 #5448CC
split-complementary
#CC487E #48CC54 #48C0CC
monochromatic
#782145 #A82F60 #CC487E #D978A0 #E7A8C1

Accessibility & contrast

On white

4.38
#CC487E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC487E#FFFFFF#000000##000000
##CC487E1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#60697F
Deuteranopia (green-blind)
#84827B
Tritanopia (blue-blind)
#DC3B5E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc487e;
/* rgb */ color: rgb(204, 72, 126);
/* oklch */ color: oklch(59.7% 0.174 358.5);
Tailwind
colors: {
  custom: {
    50: '#e083a3',
    500: '#cc487e',
    950: '#000000',
  },
}
SCSS
$custom: #cc487e;
$custom-light: #e083a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc487e",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 335.455,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5974,
    "c": 0.17369,
    "h": 358.5
  },
  "luminance": 0.18978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC487E

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

Preview Lab → · Contrast checker → · Palette generator →

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