#CC36B1#CC36B1

#CC36B1 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.1% C 0.224 H 336.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CC36B1
RGBrgb(204, 54, 177)
HSLhsl(311, 60%, 51%)
HSVhsv(311, 74%, 80%)
CMYKcmyk(0%, 73.5%, 13.2%, 20%)
CIE-LABlab(50.28, 69.80, -32.90)
CIE-LCHlch(50.28, 77.16, 334.76°)
OKLaboklab(60.1% 0.205 -0.0896)
OKLCHoklch(60.1% 0.224 336.4)
XYZxyz(34.1574, 18.6532, 43.3879)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC36B1 #36CC51
analogous
#9C36CC #CC36B1 #CC3666
triadic
#CC36B1 #B1CC36 #36B1CC
tetradic
#CC36B1 #CC9C36 #36CC51 #3666CC
square
#CC36B1 #CC9C36 #36CC51 #3666CC
split-complementary
#CC36B1 #66CC36 #36CC9C
monochromatic
#6C1B5E #9D2888 #CC36B1 #D867C4 #E598D7

Accessibility & contrast

On white

4.44
#CC36B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CC36B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC36B1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC36B1#FFFFFF#000000##000000
##CC36B11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3969B4
Deuteranopia (green-blind)
#6D80AD
Tritanopia (blue-blind)
#D74070
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc36b1;
/* rgb */ color: rgb(204, 54, 177);
/* oklch */ color: oklch(60.1% 0.224 336.4);
Tailwind
colors: {
  custom: {
    50: '#e07cc8',
    500: '#cc36b1',
    950: '#000000',
  },
}
SCSS
$custom: #cc36b1;
$custom-light: #e07cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc36b1",
  "rgb": {
    "r": 204,
    "g": 54,
    "b": 177
  },
  "hsl": {
    "h": 310.8,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.601,
    "c": 0.22376,
    "h": 336.4
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

primary
#CC36B1
secondary
#8ED09A
accent
#E36145
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC36B1

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

Preview Lab → · Contrast checker → · Palette generator →

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