#CC36B6#CC36B6

#CC36B6 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.227 H 334.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CC36B6
RGBrgb(204, 54, 182)
HSLhsl(309, 60%, 51%)
HSVhsv(309, 74%, 80%)
CMYKcmyk(0%, 73.5%, 10.8%, 20%)
CIE-LABlab(50.52, 70.52, -35.45)
CIE-LCHlch(50.52, 78.93, 333.31°)
OKLaboklab(60.35% 0.2055 -0.0969)
OKLCHoklch(60.35% 0.227 334.7)
XYZxyz(34.6649, 18.8562, 46.0608)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC36B6 #36CC4C
analogous
#9736CC #CC36B6 #CC366B
triadic
#CC36B6 #B6CC36 #36B6CC
tetradic
#CC36B6 #CC9736 #36CC4C #366BCC
square
#CC36B6 #CC9736 #36CC4C #366BCC
split-complementary
#CC36B6 #6BCC36 #36CC97
monochromatic
#6C1B60 #9D288C #CC36B6 #D867C8 #E598D9

Accessibility & contrast

On white

4.40
#CC36B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CC36B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC36B6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC36B6#FFFFFF#000000##000000
##CC36B61.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#346AB9
Deuteranopia (green-blind)
#6B80B2
Tritanopia (blue-blind)
#D64373
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc36b6;
/* rgb */ color: rgb(204, 54, 182);
/* oklch */ color: oklch(60.4% 0.227 334.7);
Tailwind
colors: {
  custom: {
    50: '#e07ccc',
    500: '#cc36b6',
    950: '#000000',
  },
}
SCSS
$custom: #cc36b6;
$custom-light: #e07ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc36b6",
  "rgb": {
    "r": 204,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 308.8,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.6035,
    "c": 0.22718,
    "h": 334.7
  },
  "luminance": 0.18853
}

Semantic roles & 50–950 ramp

primary
#CC36B6
secondary
#8ED097
accent
#E35C45
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC36B6

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

Preview Lab → · Contrast checker → · Palette generator →

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