#CC3AA6#CC3AA6

#CC3AA6 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.9% C 0.212 H 340.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CC3AA6
RGBrgb(204, 58, 166)
HSLhsl(316, 59%, 51%)
HSVhsv(316, 72%, 80%)
CMYKcmyk(0%, 71.6%, 18.6%, 20%)
CIE-LABlab(50.24, 66.96, -26.49)
CIE-LCHlch(50.24, 72.01, 338.41°)
OKLaboklab(59.91% 0.1998 -0.0714)
OKLCHoklch(59.91% 0.212 340.3)
XYZxyz(33.2988, 18.6199, 37.9093)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AA6 #3ACC60
analogous
#A93ACC #CC3AA6 #CC3A5D
triadic
#CC3AA6 #A6CC3A #3AA6CC
tetradic
#CC3AA6 #CCA93A #3ACC60 #3A5DCC
square
#CC3AA6 #CCA93A #3ACC60 #3A5DCC
split-complementary
#CC3AA6 #5DCC3A #3ACCA9
monochromatic
#6F1D5A #A02981 #CC3AA6 #D96BBC #E59BD2

Accessibility & contrast

On white

4.45
#CC3AA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CC3AA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3AA6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3AA6#FFFFFF#000000##000000
##CC3AA61.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4469A9
Deuteranopia (green-blind)
#7380A3
Tritanopia (blue-blind)
#D83E6B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3aa6;
/* rgb */ color: rgb(204, 58, 166);
/* oklch */ color: oklch(59.9% 0.212 340.3);
Tailwind
colors: {
  custom: {
    50: '#e07dc0',
    500: '#cc3aa6',
    950: '#000000',
  },
}
SCSS
$custom: #cc3aa6;
$custom-light: #e07dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3aa6",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 315.616,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59909,
    "c": 0.21214,
    "h": 340.3
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#CC3AA6
secondary
#91D1A1
accent
#E26E46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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