#CC39B3#CC39B3

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

Color values

HEX#CC39B3
RGBrgb(204, 57, 179)
HSLhsl(310, 59%, 51%)
HSVhsv(310, 72%, 80%)
CMYKcmyk(0%, 72.1%, 12.3%, 20%)
CIE-LABlab(50.71, 69.12, -33.39)
CIE-LCHlch(50.71, 76.77, 334.21°)
OKLaboklab(60.44% 0.2024 -0.0911)
OKLCHoklch(60.44% 0.222 335.8)
XYZxyz(34.5021, 19.0214, 44.4935)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC39B3 #39CC52
analogous
#9B39CC #CC39B3 #CC3969
triadic
#CC39B3 #B3CC39 #39B3CC
tetradic
#CC39B3 #CC9B39 #39CC52 #3969CC
square
#CC39B3 #CC9B39 #39CC52 #3969CC
split-complementary
#CC39B3 #69CC39 #39CC9B
monochromatic
#6E1C60 #9F298B #CC39B3 #D96AC6 #E59AD8

Accessibility & contrast

On white

4.37
#CC39B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC39B3#FFFFFF#000000##000000
##CC39B31.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB6
Deuteranopia (green-blind)
#6D81AF
Tritanopia (blue-blind)
#D64472
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc39b3;
/* rgb */ color: rgb(204, 57, 179);
/* oklch */ color: oklch(60.4% 0.222 335.8);
Tailwind
colors: {
  custom: {
    50: '#df7dca',
    500: '#cc39b3',
    950: '#000000',
  },
}
SCSS
$custom: #cc39b3;
$custom-light: #df7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc39b3",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 310.204,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60443,
    "c": 0.2219,
    "h": 335.8
  },
  "luminance": 0.19018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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