#CC4AAD#CC4AAD

#CC4AAD is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.8% C 0.197 H 338.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CC4AAD
RGBrgb(204, 74, 173)
HSLhsl(314, 56%, 55%)
HSVhsv(314, 64%, 80%)
CMYKcmyk(0%, 63.7%, 15.2%, 20%)
CIE-LABlab(52.68, 61.98, -26.82)
CIE-LCHlch(52.68, 67.54, 336.60°)
OKLaboklab(61.79% 0.1829 -0.0725)
OKLCHoklch(61.79% 0.197 338.4)
XYZxyz(34.8941, 20.7551, 41.6954)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AAD #4ACC69
analogous
#AA4ACC #CC4AAD #CC4A6C
triadic
#CC4AAD #ADCC4A #4AADCC
tetradic
#CC4AAD #CCAA4A #4ACC69 #4A6CCC
square
#CC4AAD #CCAA4A #4ACC69 #4A6CCC
split-complementary
#CC4AAD #6CCC4A #4ACCAA
monochromatic
#792265 #A9308C #CC4AAD #D97AC3 #E7A9D8

Accessibility & contrast

On white

4.08
#CC4AAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CC4AAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AAD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AAD#FFFFFF#000000##000000
##CC4AAD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F71B0
Deuteranopia (green-blind)
#7785AA
Tritanopia (blue-blind)
#D74F75
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4aad;
/* rgb */ color: rgb(204, 74, 173);
/* oklch */ color: oklch(61.8% 0.197 338.4);
Tailwind
colors: {
  custom: {
    50: '#df85c5',
    500: '#cc4aad',
    950: '#000000',
  },
}
SCSS
$custom: #cc4aad;
$custom-light: #df85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4aad",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 173
  },
  "hsl": {
    "h": 314.308,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61785,
    "c": 0.19675,
    "h": 338.4
  },
  "luminance": 0.20752
}

Semantic roles & 50–950 ramp

primary
#CC4AAD
secondary
#9DD4AB
accent
#DF6C48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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