#CC4AAC#CC4AAC

#CC4AAC is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.7% C 0.196 H 338.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CC4AAC
RGBrgb(204, 74, 172)
HSLhsl(315, 56%, 55%)
HSVhsv(315, 64%, 80%)
CMYKcmyk(0%, 63.7%, 15.7%, 20%)
CIE-LABlab(52.64, 61.84, -26.30)
CIE-LCHlch(52.64, 67.20, 336.96°)
OKLaboklab(61.74% 0.1827 -0.071)
OKLCHoklch(61.74% 0.196 338.8)
XYZxyz(34.7977, 20.7165, 41.1877)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AAC #4ACC6A
analogous
#AB4ACC #CC4AAC #CC4A6B
triadic
#CC4AAC #ACCC4A #4AACCC
tetradic
#CC4AAC #CCAB4A #4ACC6A #4A6BCC
square
#CC4AAC #CCAB4A #4ACC6A #4A6BCC
split-complementary
#CC4AAC #6BCC4A #4ACCAB
monochromatic
#792264 #A9308B #CC4AAC #D97AC2 #E7A9D8

Accessibility & contrast

On white

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

On black

5.14
#CC4AAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AAC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AAC#FFFFFF#000000##000000
##CC4AAC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5071AF
Deuteranopia (green-blind)
#7885A9
Tritanopia (blue-blind)
#D74F74
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4aac;
/* rgb */ color: rgb(204, 74, 172);
/* oklch */ color: oklch(61.7% 0.196 338.8);
Tailwind
colors: {
  custom: {
    50: '#df85c5',
    500: '#cc4aac',
    950: '#000000',
  },
}
SCSS
$custom: #cc4aac;
$custom-light: #df85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4aac",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 172
  },
  "hsl": {
    "h": 314.769,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6174,
    "c": 0.19606,
    "h": 338.8
  },
  "luminance": 0.20713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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