#CC35B2#CC35B2

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

Color values

HEX#CC35B2
RGBrgb(204, 53, 178)
HSLhsl(310, 60%, 50%)
HSVhsv(310, 74%, 80%)
CMYKcmyk(0%, 74%, 12.7%, 20%)
CIE-LABlab(50.22, 70.25, -33.58)
CIE-LCHlch(50.22, 77.87, 334.45°)
OKLaboklab(60.07% 0.206 -0.0916)
OKLCHoklch(60.07% 0.225 336)
XYZxyz(34.2114, 18.6010, 43.8994)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC35B2 #35CC4F
analogous
#9A35CC #CC35B2 #CC3566
triadic
#CC35B2 #B2CC35 #35B2CC
tetradic
#CC35B2 #CC9A35 #35CC4F #3566CC
square
#CC35B2 #CC9A35 #35CC4F #3566CC
split-complementary
#CC35B2 #66CC35 #35CC9A
monochromatic
#6B1B5E #9C2788 #CC35B2 #D866C5 #E597D7

Accessibility & contrast

On white

4.45
#CC35B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CC35B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC35B2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC35B2#FFFFFF#000000##000000
##CC35B21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#6C80AE
Tritanopia (blue-blind)
#D64070
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc35b2;
/* rgb */ color: rgb(204, 53, 178);
/* oklch */ color: oklch(60.1% 0.225 336.0);
Tailwind
colors: {
  custom: {
    50: '#e07bc9',
    500: '#cc35b2',
    950: '#000000',
  },
}
SCSS
$custom: #cc35b2;
$custom-light: #e07bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc35b2",
  "rgb": {
    "r": 204,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 310.331,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60071,
    "c": 0.22548,
    "h": 336
  },
  "luminance": 0.18598
}

Semantic roles & 50–950 ramp

primary
#CC35B2
secondary
#8DD098
accent
#E36045
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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