#CC4587#CC4587

#CC4587 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.7% C 0.181 H 353.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CC4587
RGBrgb(204, 69, 135)
HSLhsl(331, 57%, 54%)
HSVhsv(331, 66%, 80%)
CMYKcmyk(0%, 66.2%, 33.8%, 20%)
CIE-LABlab(50.51, 59.00, -7.64)
CIE-LCHlch(50.51, 59.49, 352.62°)
OKLaboklab(59.72% 0.1803 -0.0194)
OKLCHoklch(59.72% 0.181 353.8)
XYZxyz(31.4049, 18.8464, 24.9008)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4587 #45CC8A
analogous
#CC45CA #CC4587 #CC4645
triadic
#CC4587 #87CC45 #4587CC
tetradic
#CC4587 #CACC45 #45CC8A #4645CC
square
#CC4587 #CACC45 #45CC8A #4645CC
split-complementary
#CC4587 #45CC46 #45CACC
monochromatic
#76204A #A62E69 #CC4587 #D975A6 #E6A5C5

Accessibility & contrast

On white

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

On black

4.77
#CC4587 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4587
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4587#FFFFFF#000000##000000
##CC45871.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6989
Deuteranopia (green-blind)
#818184
Tritanopia (blue-blind)
#DB3B60
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4587;
/* rgb */ color: rgb(204, 69, 135);
/* oklch */ color: oklch(59.7% 0.181 353.8);
Tailwind
colors: {
  custom: {
    50: '#e081aa',
    500: '#cc4587',
    950: '#000000',
  },
}
SCSS
$custom: #cc4587;
$custom-light: #e081aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4587",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 330.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.18131,
    "h": 353.8
  },
  "luminance": 0.18843
}

Semantic roles & 50–950 ramp

primary
#CC4587
secondary
#99D3B7
accent
#E09648
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4587

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

Preview Lab → · Contrast checker → · Palette generator →

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