#CC3AA8#CC3AA8

#CC3AA8 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.0% C 0.213 H 339.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CC3AA8
RGBrgb(204, 58, 168)
HSLhsl(315, 59%, 51%)
HSVhsv(315, 72%, 80%)
CMYKcmyk(0%, 71.6%, 17.6%, 20%)
CIE-LABlab(50.33, 67.24, -27.54)
CIE-LCHlch(50.33, 72.66, 337.73°)
OKLaboklab(60% 0.2001 -0.0744)
OKLCHoklch(60% 0.213 339.6)
XYZxyz(33.4836, 18.6939, 38.8830)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AA8 #3ACC5E
analogous
#A73ACC #CC3AA8 #CC3A5F
triadic
#CC3AA8 #A8CC3A #3AA8CC
tetradic
#CC3AA8 #CCA73A #3ACC5E #3A5FCC
square
#CC3AA8 #CCA73A #3ACC5E #3A5FCC
split-complementary
#CC3AA8 #5FCC3A #3ACCA7
monochromatic
#6F1D5B #A02982 #CC3AA8 #D96BBD #E59BD3

Accessibility & contrast

On white

4.43
#CC3AA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CC3AA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3AA8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3AA8#FFFFFF#000000##000000
##CC3AA81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4369AB
Deuteranopia (green-blind)
#7280A5
Tritanopia (blue-blind)
#D83F6C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3aa8;
/* rgb */ color: rgb(204, 58, 168);
/* oklch */ color: oklch(60.0% 0.213 339.6);
Tailwind
colors: {
  custom: {
    50: '#e07dc2',
    500: '#cc3aa8',
    950: '#000000',
  },
}
SCSS
$custom: #cc3aa8;
$custom-light: #e07dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3aa8",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 314.795,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60001,
    "c": 0.21344,
    "h": 339.6
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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