#CC4C87#CC4C87

#CC4C87 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.5% C 0.172 H 354.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CC4C87
RGBrgb(204, 76, 135)
HSLhsl(332, 56%, 55%)
HSVhsv(332, 63%, 80%)
CMYKcmyk(0%, 62.7%, 33.8%, 20%)
CIE-LABlab(51.56, 56.11, -6.07)
CIE-LCHlch(51.56, 56.44, 353.83°)
OKLaboklab(60.5% 0.1712 -0.0153)
OKLCHoklch(60.5% 0.172 354.9)
XYZxyz(31.8612, 19.7590, 25.0529)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4C87 #4CCC91
analogous
#CC4CC7 #CC4C87 #CC514C
triadic
#CC4C87 #87CC4C #4C87CC
tetradic
#CC4C87 #C7CC4C #4CCC91 #514CCC
square
#CC4C87 #C7CC4C #4CCC91 #514CCC
split-complementary
#CC4C87 #4CCC51 #4CC7CC
monochromatic
#7B234B #AA3169 #CC4C87 #DA7CA7 #E7ABC7

Accessibility & contrast

On white

4.24
#CC4C87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CC4C87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4C87
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4C87#FFFFFF#000000##000000
##CC4C871.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#616C89
Deuteranopia (green-blind)
#838484
Tritanopia (blue-blind)
#DB4364
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4c87;
/* rgb */ color: rgb(204, 76, 135);
/* oklch */ color: oklch(60.5% 0.172 354.9);
Tailwind
colors: {
  custom: {
    50: '#e085a9',
    500: '#cc4c87',
    950: '#000000',
  },
}
SCSS
$custom: #cc4c87;
$custom-light: #e085a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4c87",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 332.344,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60497,
    "c": 0.1719,
    "h": 354.9
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#CC4C87
secondary
#9FD5BC
accent
#DF9A49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4C87

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

Preview Lab → · Contrast checker → · Palette generator →

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