#CC4D87#CC4D87

#CC4D87 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.171 H 355.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CC4D87
RGBrgb(204, 77, 135)
HSLhsl(333, 55%, 55%)
HSVhsv(333, 62%, 80%)
CMYKcmyk(0%, 62.3%, 33.8%, 20%)
CIE-LABlab(51.72, 55.68, -5.83)
CIE-LCHlch(51.72, 55.99, 354.02°)
OKLaboklab(60.61% 0.1699 -0.0147)
OKLCHoklch(60.61% 0.171 355.1)
XYZxyz(31.9306, 19.8978, 25.0761)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4D87 #4DCC92
analogous
#CC4DC7 #CC4D87 #CC524D
triadic
#CC4D87 #87CC4D #4D87CC
tetradic
#CC4D87 #C7CC4D #4DCC92 #524DCC
square
#CC4D87 #C7CC4D #4DCC92 #524DCC
split-complementary
#CC4D87 #4DCC52 #4DC7CC
monochromatic
#7B234B #AB3169 #CC4D87 #DA7DA7 #E7ACC7

Accessibility & contrast

On white

4.22
#CC4D87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CC4D87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4D87
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4D87#FFFFFF#000000##000000
##CC4D871.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#616D89
Deuteranopia (green-blind)
#848484
Tritanopia (blue-blind)
#DB4464
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4d87;
/* rgb */ color: rgb(204, 77, 135);
/* oklch */ color: oklch(60.6% 0.171 355.1);
Tailwind
colors: {
  custom: {
    50: '#e086a9',
    500: '#cc4d87',
    950: '#000000',
  },
}
SCSS
$custom: #cc4d87;
$custom-light: #e086a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4d87",
  "rgb": {
    "r": 204,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 332.598,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60614,
    "c": 0.17051,
    "h": 355.1
  },
  "luminance": 0.19894
}

Semantic roles & 50–950 ramp

primary
#CC4D87
secondary
#A0D5BD
accent
#DF9A49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4D87

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

Preview Lab → · Contrast checker → · Palette generator →

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