#CC3AA7#CC3AA7

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

Color values

HEX#CC3AA7
RGBrgb(204, 58, 167)
HSLhsl(315, 59%, 51%)
HSVhsv(315, 72%, 80%)
CMYKcmyk(0%, 71.6%, 18.1%, 20%)
CIE-LABlab(50.28, 67.10, -27.02)
CIE-LCHlch(50.28, 72.33, 338.07°)
OKLaboklab(59.95% 0.1999 -0.0729)
OKLCHoklch(59.95% 0.213 340)
XYZxyz(33.3908, 18.6567, 38.3943)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AA7 #3ACC5F
analogous
#A83ACC #CC3AA7 #CC3A5E
triadic
#CC3AA7 #A7CC3A #3AA7CC
tetradic
#CC3AA7 #CCA83A #3ACC5F #3A5ECC
square
#CC3AA7 #CCA83A #3ACC5F #3A5ECC
split-complementary
#CC3AA7 #5ECC3A #3ACCA8
monochromatic
#6F1D5A #A02982 #CC3AA7 #D96BBD #E59BD2

Accessibility & contrast

On white

4.44
#CC3AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CC3AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3AA7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3AA7#FFFFFF#000000##000000
##CC3AA71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4469AA
Deuteranopia (green-blind)
#7380A4
Tritanopia (blue-blind)
#D83F6C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3aa7;
/* rgb */ color: rgb(204, 58, 167);
/* oklch */ color: oklch(60.0% 0.213 340.0);
Tailwind
colors: {
  custom: {
    50: '#e07dc1',
    500: '#cc3aa7',
    950: '#000000',
  },
}
SCSS
$custom: #cc3aa7;
$custom-light: #e07dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3aa7",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 315.205,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59954,
    "c": 0.21278,
    "h": 340
  },
  "luminance": 0.18654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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