#CC39B2#CC39B2

#CC39B2 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.4% C 0.221 H 336.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CC39B2
RGBrgb(204, 57, 178)
HSLhsl(311, 59%, 51%)
HSVhsv(311, 72%, 80%)
CMYKcmyk(0%, 72.1%, 12.7%, 20%)
CIE-LABlab(50.67, 68.98, -32.88)
CIE-LCHlch(50.67, 76.41, 334.51°)
OKLaboklab(60.39% 0.2023 -0.0896)
OKLCHoklch(60.39% 0.221 336.1)
XYZxyz(34.4014, 18.9811, 43.9628)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39B2 #39CC53
analogous
#9C39CC #CC39B2 #CC3968
triadic
#CC39B2 #B2CC39 #39B2CC
tetradic
#CC39B2 #CC9C39 #39CC53 #3968CC
square
#CC39B2 #CC9C39 #39CC53 #3968CC
split-complementary
#CC39B2 #68CC39 #39CC9C
monochromatic
#6E1C60 #9F298A #CC39B2 #D96AC5 #E59AD8

Accessibility & contrast

On white

4.38
#CC39B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CC39B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC39B2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC39B2#FFFFFF#000000##000000
##CC39B21.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#6E81AE
Tritanopia (blue-blind)
#D64371
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc39b2;
/* rgb */ color: rgb(204, 57, 178);
/* oklch */ color: oklch(60.4% 0.221 336.1);
Tailwind
colors: {
  custom: {
    50: '#df7dc9',
    500: '#cc39b2',
    950: '#000000',
  },
}
SCSS
$custom: #cc39b2;
$custom-light: #df7dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39b2",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 310.612,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60394,
    "c": 0.22121,
    "h": 336.1
  },
  "luminance": 0.18978
}

Semantic roles & 50–950 ramp

primary
#CC39B2
secondary
#90D19B
accent
#E26146
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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