#CC4A87#CC4A87

#CC4A87 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.3% C 0.175 H 354.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CC4A87
RGBrgb(204, 74, 135)
HSLhsl(332, 56%, 55%)
HSVhsv(332, 64%, 80%)
CMYKcmyk(0%, 63.7%, 33.8%, 20%)
CIE-LABlab(51.25, 56.95, -6.53)
CIE-LCHlch(51.25, 57.33, 353.46°)
OKLaboklab(60.27% 0.1739 -0.0165)
OKLCHoklch(60.27% 0.175 354.6)
XYZxyz(31.7255, 19.4877, 25.0077)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A87 #4ACC8F
analogous
#CC4AC8 #CC4A87 #CC4E4A
triadic
#CC4A87 #87CC4A #4A87CC
tetradic
#CC4A87 #C8CC4A #4ACC8F #4E4ACC
square
#CC4A87 #C8CC4A #4ACC8F #4E4ACC
split-complementary
#CC4A87 #4ACC4E #4AC8CC
monochromatic
#79224B #A93069 #CC4A87 #D97AA7 #E7A9C6

Accessibility & contrast

On white

4.29
#CC4A87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CC4A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A87
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A87#FFFFFF#000000##000000
##CC4A871.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6B89
Deuteranopia (green-blind)
#838384
Tritanopia (blue-blind)
#DB4163
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4a87;
/* rgb */ color: rgb(204, 74, 135);
/* oklch */ color: oklch(60.3% 0.175 354.6);
Tailwind
colors: {
  custom: {
    50: '#e084a9',
    500: '#cc4a87',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a87;
$custom-light: #e084a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a87",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 331.846,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60267,
    "c": 0.17464,
    "h": 354.6
  },
  "luminance": 0.19484
}

Semantic roles & 50–950 ramp

primary
#CC4A87
secondary
#9DD4BB
accent
#DF9948
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4A87

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

Preview Lab → · Contrast checker → · Palette generator →

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