#CC4A8A#CC4A8A

#CC4A8A is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.4% C 0.176 H 353.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CC4A8A
RGBrgb(204, 74, 138)
HSLhsl(330, 56%, 55%)
HSVhsv(330, 64%, 80%)
CMYKcmyk(0%, 63.7%, 32.4%, 20%)
CIE-LABlab(51.35, 57.31, -8.17)
CIE-LCHlch(51.35, 57.89, 351.88°)
OKLaboklab(60.37% 0.1748 -0.0209)
OKLCHoklch(60.37% 0.176 353.2)
XYZxyz(31.9397, 19.5733, 26.1358)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A8A #4ACC8C
analogous
#CC4ACB #CC4A8A #CC4B4A
triadic
#CC4A8A #8ACC4A #4A8ACC
tetradic
#CC4A8A #CBCC4A #4ACC8C #4B4ACC
square
#CC4A8A #CBCC4A #4ACC8C #4B4ACC
split-complementary
#CC4A8A #4ACC4B #4ACBCC
monochromatic
#79224D #A9306B #CC4A8A #D97AA9 #E7A9C8

Accessibility & contrast

On white

4.27
#CC4A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CC4A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A8A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A8A#FFFFFF#000000##000000
##CC4A8A1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6B8C
Deuteranopia (green-blind)
#828387
Tritanopia (blue-blind)
#DB4264
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4a8a;
/* rgb */ color: rgb(204, 74, 138);
/* oklch */ color: oklch(60.4% 0.176 353.2);
Tailwind
colors: {
  custom: {
    50: '#e084ac',
    500: '#cc4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a8a;
$custom-light: #e084ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a8a",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 330.462,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60372,
    "c": 0.17601,
    "h": 353.2
  },
  "luminance": 0.1957
}

Semantic roles & 50–950 ramp

primary
#CC4A8A
secondary
#9DD4B9
accent
#DF9548
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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