#CC4987#CC4987

#CC4987 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.2% C 0.176 H 354.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CC4987
RGBrgb(204, 73, 135)
HSLhsl(332, 56%, 54%)
HSVhsv(332, 64%, 80%)
CMYKcmyk(0%, 64.2%, 33.8%, 20%)
CIE-LABlab(51.10, 57.37, -6.75)
CIE-LCHlch(51.10, 57.77, 353.29°)
OKLaboklab(60.15% 0.1752 -0.0171)
OKLCHoklch(60.15% 0.176 354.4)
XYZxyz(31.6593, 19.3552, 24.9856)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4987 #49CC8E
analogous
#CC49C9 #CC4987 #CC4D49
triadic
#CC4987 #87CC49 #4987CC
tetradic
#CC4987 #C9CC49 #49CC8E #4D49CC
square
#CC4987 #C9CC49 #49CC8E #4D49CC
split-complementary
#CC4987 #49CC4D #49C9CC
monochromatic
#79224B #A92F69 #CC4987 #D979A7 #E7A9C6

Accessibility & contrast

On white

4.31
#CC4987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CC4987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4987
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4987#FFFFFF#000000##000000
##CC49871.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6A89
Deuteranopia (green-blind)
#828384
Tritanopia (blue-blind)
#DB3F62
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4987;
/* rgb */ color: rgb(204, 73, 135);
/* oklch */ color: oklch(60.2% 0.176 354.4);
Tailwind
colors: {
  custom: {
    50: '#e083a9',
    500: '#cc4987',
    950: '#000000',
  },
}
SCSS
$custom: #cc4987;
$custom-light: #e083a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4987",
  "rgb": {
    "r": 204,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 331.603,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60154,
    "c": 0.176,
    "h": 354.4
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#CC4987
secondary
#9DD4BA
accent
#E09848
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4987

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

Preview Lab → · Contrast checker → · Palette generator →

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