#CC3AA5#CC3AA5

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

Color values

HEX#CC3AA5
RGBrgb(204, 58, 165)
HSLhsl(316, 59%, 51%)
HSVhsv(316, 72%, 80%)
CMYKcmyk(0%, 71.6%, 19.1%, 20%)
CIE-LABlab(50.20, 66.83, -25.97)
CIE-LCHlch(50.20, 71.70, 338.76°)
OKLaboklab(59.86% 0.1996 -0.07)
OKLCHoklch(59.86% 0.212 340.7)
XYZxyz(33.2074, 18.5834, 37.4281)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AA5 #3ACC61
analogous
#AA3ACC #CC3AA5 #CC3A5C
triadic
#CC3AA5 #A5CC3A #3AA5CC
tetradic
#CC3AA5 #CCAA3A #3ACC61 #3A5CCC
square
#CC3AA5 #CCAA3A #3ACC61 #3A5CCC
split-complementary
#CC3AA5 #5CCC3A #3ACCAA
monochromatic
#6F1D59 #A02980 #CC3AA5 #D96BBB #E59BD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3AA5#FFFFFF#000000##000000
##CC3AA51.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)
#4568A8
Deuteranopia (green-blind)
#7380A2
Tritanopia (blue-blind)
#D83E6B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc3aa5;
/* rgb */ color: rgb(204, 58, 165);
/* oklch */ color: oklch(59.9% 0.212 340.7);
Tailwind
colors: {
  custom: {
    50: '#e07dc0',
    500: '#cc3aa5',
    950: '#000000',
  },
}
SCSS
$custom: #cc3aa5;
$custom-light: #e07dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3aa5",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 316.027,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59863,
    "c": 0.21151,
    "h": 340.7
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

primary
#CC3AA5
secondary
#91D1A2
accent
#E26F46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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