#CC39AB#CC39AB

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

Color values

HEX#CC39AB
RGBrgb(204, 57, 171)
HSLhsl(313, 59%, 51%)
HSVhsv(313, 72%, 80%)
CMYKcmyk(0%, 72.1%, 16.2%, 20%)
CIE-LABlab(50.34, 67.99, -29.28)
CIE-LCHlch(50.34, 74.02, 336.70°)
OKLaboklab(60.06% 0.2015 -0.0793)
OKLCHoklch(60.06% 0.217 338.5)
XYZxyz(33.7164, 18.7071, 40.3553)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39AB #39CC5A
analogous
#A339CC #CC39AB #CC3961
triadic
#CC39AB #ABCC39 #39ABCC
tetradic
#CC39AB #CCA339 #39CC5A #3961CC
square
#CC39AB #CCA339 #39CC5A #3961CC
split-complementary
#CC39AB #61CC39 #39CCA3
monochromatic
#6E1C5C #9F2984 #CC39AB #D96AC0 #E59AD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC39AB#FFFFFF#000000##000000
##CC39AB1.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)
#4069AE
Deuteranopia (green-blind)
#7180A8
Tritanopia (blue-blind)
#D7406E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc39ab;
/* rgb */ color: rgb(204, 57, 171);
/* oklch */ color: oklch(60.1% 0.217 338.5);
Tailwind
colors: {
  custom: {
    50: '#e07dc4',
    500: '#cc39ab',
    950: '#000000',
  },
}
SCSS
$custom: #cc39ab;
$custom-light: #e07dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39ab",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 313.469,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60056,
    "c": 0.21652,
    "h": 338.5
  },
  "luminance": 0.18704
}

Semantic roles & 50–950 ramp

primary
#CC39AB
secondary
#90D19F
accent
#E26946
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC39AB

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

Preview Lab → · Contrast checker → · Palette generator →

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