#CC39B1#CC39B1

#CC39B1 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.3% C 0.221 H 336.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC39B1
RGBrgb(204, 57, 177)
HSLhsl(311, 59%, 51%)
HSVhsv(311, 72%, 80%)
CMYKcmyk(0%, 72.1%, 13.2%, 20%)
CIE-LABlab(50.62, 68.83, -32.37)
CIE-LCHlch(50.62, 76.07, 334.81°)
OKLaboklab(60.35% 0.2022 -0.0882)
OKLCHoklch(60.35% 0.221 336.4)
XYZxyz(34.3013, 18.9411, 43.4359)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39B1 #39CC54
analogous
#9D39CC #CC39B1 #CC3967
triadic
#CC39B1 #B1CC39 #39B1CC
tetradic
#CC39B1 #CC9D39 #39CC54 #3967CC
square
#CC39B1 #CC9D39 #39CC54 #3967CC
split-complementary
#CC39B1 #67CC39 #39CC9D
monochromatic
#6E1C5F #9F2989 #CC39B1 #D96AC4 #E59AD7

Accessibility & contrast

On white

4.39
#CC39B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CC39B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39B1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39B1#FFFFFF#000000##000000
##CC39B11.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB4
Deuteranopia (green-blind)
#6E80AE
Tritanopia (blue-blind)
#D74371
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc39b1;
/* rgb */ color: rgb(204, 57, 177);
/* oklch */ color: oklch(60.3% 0.221 336.4);
Tailwind
colors: {
  custom: {
    50: '#df7dc8',
    500: '#cc39b1',
    950: '#000000',
  },
}
SCSS
$custom: #cc39b1;
$custom-light: #df7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39b1",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 311.02,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.22053,
    "h": 336.4
  },
  "luminance": 0.18938
}

Semantic roles & 50–950 ramp

primary
#CC39B1
secondary
#90D19C
accent
#E26246
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC39B1

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

Preview Lab → · Contrast checker → · Palette generator →

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