#CC33B1#CC33B1

#CC33B1 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.9% C 0.227 H 336.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CC33B1
RGBrgb(204, 51, 177)
HSLhsl(311, 60%, 50%)
HSVhsv(311, 75%, 80%)
CMYKcmyk(0%, 75%, 13.2%, 20%)
CIE-LABlab(49.96, 70.72, -33.41)
CIE-LCHlch(49.96, 78.21, 334.71°)
OKLaboklab(59.87% 0.2078 -0.0911)
OKLCHoklch(59.87% 0.227 336.3)
XYZxyz(34.0221, 18.3825, 43.3428)
Luminance0.1838 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33B1 #33CC4E
analogous
#9A33CC #CC33B1 #CC3365
triadic
#CC33B1 #B1CC33 #33B1CC
tetradic
#CC33B1 #CC9A33 #33CC4E #3365CC
square
#CC33B1 #CC9A33 #33CC4E #3365CC
split-complementary
#CC33B1 #65CC33 #33CC9A
monochromatic
#6A1B5C #9B2787 #CC33B1 #D864C4 #E495D6

Accessibility & contrast

On white

4.49
#CC33B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CC33B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33B1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33B1#FFFFFF#000000##000000
##CC33B11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3668B4
Deuteranopia (green-blind)
#6C7FAD
Tritanopia (blue-blind)
#D73E6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc33b1;
/* rgb */ color: rgb(204, 51, 177);
/* oklch */ color: oklch(59.9% 0.227 336.3);
Tailwind
colors: {
  custom: {
    50: '#e07ac8',
    500: '#cc33b1',
    950: '#000000',
  },
}
SCSS
$custom: #cc33b1;
$custom-light: #e07ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33b1",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 310.588,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.59867,
    "c": 0.22684,
    "h": 336.3
  },
  "luminance": 0.18379
}

Semantic roles & 50–950 ramp

primary
#CC33B1
secondary
#8BD097
accent
#E36145
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC33B1

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

Preview Lab → · Contrast checker → · Palette generator →

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