#CC39A7#CC39A7

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

Color values

HEX#CC39A7
RGBrgb(204, 57, 167)
HSLhsl(315, 59%, 51%)
HSVhsv(315, 72%, 80%)
CMYKcmyk(0%, 72.1%, 18.1%, 20%)
CIE-LABlab(50.16, 67.43, -27.20)
CIE-LCHlch(50.16, 72.71, 338.03°)
OKLaboklab(59.87% 0.2009 -0.0734)
OKLCHoklch(59.87% 0.214 339.9)
XYZxyz(33.3409, 18.5569, 38.3777)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39A7 #39CC5E
analogous
#A739CC #CC39A7 #CC395D
triadic
#CC39A7 #A7CC39 #39A7CC
tetradic
#CC39A7 #CCA739 #39CC5E #395DCC
square
#CC39A7 #CCA739 #39CC5E #395DCC
split-complementary
#CC39A7 #5DCC39 #39CCA7
monochromatic
#6E1C5A #9F2981 #CC39A7 #D96ABD #E59AD2

Accessibility & contrast

On white

4.46
#CC39A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CC39A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39A7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39A7#FFFFFF#000000##000000
##CC39A71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4368AA
Deuteranopia (green-blind)
#7280A4
Tritanopia (blue-blind)
#D83E6C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc39a7;
/* rgb */ color: rgb(204, 57, 167);
/* oklch */ color: oklch(59.9% 0.214 339.9);
Tailwind
colors: {
  custom: {
    50: '#e07dc1',
    500: '#cc39a7',
    950: '#000000',
  },
}
SCSS
$custom: #cc39a7;
$custom-light: #e07dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39a7",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 167
  },
  "hsl": {
    "h": 315.102,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59869,
    "c": 0.21392,
    "h": 339.9
  },
  "luminance": 0.18554
}

Semantic roles & 50–950 ramp

primary
#CC39A7
secondary
#90D1A0
accent
#E26D46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC39A7

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

Preview Lab → · Contrast checker → · Palette generator →

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