#CC39A1#CC39A1

#CC39A1 is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.6% C 0.210 H 342.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CC39A1
RGBrgb(204, 57, 161)
HSLhsl(318, 59%, 51%)
HSVhsv(318, 72%, 80%)
CMYKcmyk(0%, 72.1%, 21.1%, 20%)
CIE-LABlab(49.91, 66.63, -24.05)
CIE-LCHlch(49.91, 70.84, 340.15°)
OKLaboklab(59.6% 0.2 -0.0645)
OKLCHoklch(59.6% 0.21 342.1)
XYZxyz(32.7991, 18.3401, 35.5240)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39A1 #39CC64
analogous
#AD39CC #CC39A1 #CC3957
triadic
#CC39A1 #A1CC39 #39A1CC
tetradic
#CC39A1 #CCAD39 #39CC64 #3957CC
square
#CC39A1 #CCAD39 #39CC64 #3957CC
split-complementary
#CC39A1 #57CC39 #39CCAD
monochromatic
#6E1C56 #9F297C #CC39A1 #D96AB8 #E59ACF

Accessibility & contrast

On white

4.50
#CC39A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CC39A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39A1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39A1#FFFFFF#000000##000000
##CC39A11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4667A4
Deuteranopia (green-blind)
#747F9E
Tritanopia (blue-blind)
#D93B68
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc39a1;
/* rgb */ color: rgb(204, 57, 161);
/* oklch */ color: oklch(59.6% 0.210 342.1);
Tailwind
colors: {
  custom: {
    50: '#e07cbd',
    500: '#cc39a1',
    950: '#000000',
  },
}
SCSS
$custom: #cc39a1;
$custom-light: #e07cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39a1",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 161
  },
  "hsl": {
    "h": 317.551,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59596,
    "c": 0.21014,
    "h": 342.1
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#CC39A1
secondary
#90D1A3
accent
#E27346
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC39A1

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

Preview Lab → · Contrast checker → · Palette generator →

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