#CC587F#CC587F

#CC587F is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.7% C 0.152 H 1.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CC587F
RGBrgb(204, 88, 127)
HSLhsl(340, 53%, 57%)
HSVhsv(340, 57%, 80%)
CMYKcmyk(0%, 56.9%, 37.7%, 20%)
CIE-LABlab(53.33, 49.80, 1.30)
CIE-LCHlch(53.33, 49.81, 1.50°)
OKLaboklab(61.74% 0.1518 0.004)
OKLCHoklch(61.74% 0.152 1.5)
XYZxyz(32.2242, 21.3525, 22.4990)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC587F #58CCA5
analogous
#CC58B9 #CC587F #CC6B58
triadic
#CC587F #7FCC58 #587FCC
tetradic
#CC587F #B9CC58 #58CCA5 #6B58CC
square
#CC587F #B9CC58 #58CCA5 #6B58CC
split-complementary
#CC587F #58CC6B #58B9CC
monochromatic
#822846 #B1365F #CC587F #DA87A3 #E9B6C7

Accessibility & contrast

On white

3.98
#CC587F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CC587F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC587F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC587F#FFFFFF#000000##000000
##CC587F1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7280
Deuteranopia (green-blind)
#8B887C
Tritanopia (blue-blind)
#DC4D67
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc587f;
/* rgb */ color: rgb(204, 88, 127);
/* oklch */ color: oklch(61.7% 0.152 1.5);
Tailwind
colors: {
  custom: {
    50: '#df8ca4',
    500: '#cc587f',
    950: '#000000',
  },
}
SCSS
$custom: #cc587f;
$custom-light: #df8ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc587f",
  "rgb": {
    "r": 204,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 339.828,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61736,
    "c": 0.1518,
    "h": 1.5
  },
  "luminance": 0.21349
}

Semantic roles & 50–950 ramp

primary
#CC587F
secondary
#A8D7C8
accent
#DDAC4B
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC587F

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

Preview Lab → · Contrast checker → · Palette generator →

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