#CC35B1#CC35B1

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

Color values

HEX#CC35B1
RGBrgb(204, 53, 177)
HSLhsl(311, 60%, 50%)
HSVhsv(311, 74%, 80%)
CMYKcmyk(0%, 74%, 13.2%, 20%)
CIE-LABlab(50.17, 70.11, -33.07)
CIE-LCHlch(50.17, 77.52, 334.75°)
OKLaboklab(60.02% 0.206 -0.0901)
OKLCHoklch(60.02% 0.225 336.4)
XYZxyz(34.1113, 18.5610, 43.3726)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC35B1 #35CC50
analogous
#9B35CC #CC35B1 #CC3566
triadic
#CC35B1 #B1CC35 #35B1CC
tetradic
#CC35B1 #CC9B35 #35CC50 #3566CC
square
#CC35B1 #CC9B35 #35CC50 #3566CC
split-complementary
#CC35B1 #66CC35 #35CC9B
monochromatic
#6B1B5D #9C2787 #CC35B1 #D866C4 #E597D7

Accessibility & contrast

On white

4.46
#CC35B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CC35B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC35B1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC35B1#FFFFFF#000000##000000
##CC35B11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3869B4
Deuteranopia (green-blind)
#6D7FAD
Tritanopia (blue-blind)
#D74070
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc35b1;
/* rgb */ color: rgb(204, 53, 177);
/* oklch */ color: oklch(60.0% 0.225 336.4);
Tailwind
colors: {
  custom: {
    50: '#e07bc8',
    500: '#cc35b1',
    950: '#000000',
  },
}
SCSS
$custom: #cc35b1;
$custom-light: #e07bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc35b1",
  "rgb": {
    "r": 204,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 310.728,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.22481,
    "h": 336.4
  },
  "luminance": 0.18558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC35B1

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

Preview Lab → · Contrast checker → · Palette generator →

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