#CC4A8D#CC4A8D

#CC4A8D is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.177 H 351.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CC4A8D
RGBrgb(204, 74, 141)
HSLhsl(329, 56%, 55%)
HSVhsv(329, 64%, 80%)
CMYKcmyk(0%, 63.7%, 30.9%, 20%)
CIE-LABlab(51.45, 57.67, -9.81)
CIE-LCHlch(51.45, 58.50, 350.35°)
OKLaboklab(60.48% 0.1756 -0.0253)
OKLCHoklch(60.48% 0.177 351.8)
XYZxyz(32.1599, 19.6614, 27.2955)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A8D #4ACC89
analogous
#CA4ACC #CC4A8D #CC4A4C
triadic
#CC4A8D #8DCC4A #4A8DCC
tetradic
#CC4A8D #CCCA4A #4ACC89 #4A4CCC
square
#CC4A8D #CCCA4A #4ACC89 #4A4CCC
split-complementary
#CC4A8D #4CCC4A #4ACCCA
monochromatic
#79224F #A9306E #CC4A8D #D97AAB #E7A9C9

Accessibility & contrast

On white

4.26
#CC4A8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CC4A8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A8D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A8D#FFFFFF#000000##000000
##CC4A8D1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C8F
Deuteranopia (green-blind)
#81838A
Tritanopia (blue-blind)
#DB4365
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4a8d;
/* rgb */ color: rgb(204, 74, 141);
/* oklch */ color: oklch(60.5% 0.177 351.8);
Tailwind
colors: {
  custom: {
    50: '#df84ae',
    500: '#cc4a8d',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a8d;
$custom-light: #df84ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a8d",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 329.077,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6048,
    "c": 0.17745,
    "h": 351.8
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

primary
#CC4A8D
secondary
#9DD4B8
accent
#DF9248
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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