#CC4AB2#CC4AB2

#CC4AB2 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.0% C 0.200 H 336.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CC4AB2
RGBrgb(204, 74, 178)
HSLhsl(312, 56%, 55%)
HSVhsv(312, 64%, 80%)
CMYKcmyk(0%, 63.7%, 12.7%, 20%)
CIE-LABlab(52.90, 62.73, -29.40)
CIE-LCHlch(52.90, 69.28, 334.89°)
OKLaboklab(62.01% 0.1837 -0.0798)
OKLCHoklch(62.01% 0.2 336.5)
XYZxyz(35.3870, 20.9522, 44.2913)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AB2 #4ACC64
analogous
#A54ACC #CC4AB2 #CC4A71
triadic
#CC4AB2 #B2CC4A #4AB2CC
tetradic
#CC4AB2 #CCA54A #4ACC64 #4A71CC
square
#CC4AB2 #CCA54A #4ACC64 #4A71CC
split-complementary
#CC4AB2 #71CC4A #4ACCA5
monochromatic
#792268 #A93091 #CC4AB2 #D97AC6 #E7A9DB

Accessibility & contrast

On white

4.05
#CC4AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CC4AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AB2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AB2#FFFFFF#000000##000000
##CC4AB21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B5
Deuteranopia (green-blind)
#7585AF
Tritanopia (blue-blind)
#D65177
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4ab2;
/* rgb */ color: rgb(204, 74, 178);
/* oklch */ color: oklch(62.0% 0.200 336.5);
Tailwind
colors: {
  custom: {
    50: '#df85c9',
    500: '#cc4ab2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ab2;
$custom-light: #df85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ab2",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 312,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62014,
    "c": 0.20029,
    "h": 336.5
  },
  "luminance": 0.20949
}

Semantic roles & 50–950 ramp

primary
#CC4AB2
secondary
#9DD4A8
accent
#DF6748
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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