#CC33AC#CC33AC

#CC33AC is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.6% C 0.224 H 338.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CC33AC
RGBrgb(204, 51, 172)
HSLhsl(313, 60%, 50%)
HSVhsv(313, 75%, 80%)
CMYKcmyk(0%, 75%, 15.7%, 20%)
CIE-LABlab(49.72, 70.02, -30.83)
CIE-LCHlch(49.72, 76.51, 336.23°)
OKLaboklab(59.62% 0.2073 -0.0837)
OKLCHoklch(59.62% 0.224 338)
XYZxyz(33.5328, 18.1868, 40.7661)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33AC #33CC53
analogous
#9F33CC #CC33AC #CC3360
triadic
#CC33AC #ACCC33 #33ACCC
tetradic
#CC33AC #CC9F33 #33CC53 #3360CC
square
#CC33AC #CC9F33 #33CC53 #3360CC
split-complementary
#CC33AC #60CC33 #33CC9F
monochromatic
#6A1B59 #9B2783 #CC33AC #D864C0 #E495D4

Accessibility & contrast

On white

4.53
#CC33AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CC33AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33AC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33AC#FFFFFF#000000##000000
##CC33AC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A67AF
Deuteranopia (green-blind)
#6E7FA8
Tritanopia (blue-blind)
#D73B6C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc33ac;
/* rgb */ color: rgb(204, 51, 172);
/* oklch */ color: oklch(59.6% 0.224 338.0);
Tailwind
colors: {
  custom: {
    50: '#e07ac5',
    500: '#cc33ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc33ac;
$custom-light: #e07ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33ac",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 312.549,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.59622,
    "c": 0.22354,
    "h": 338
  },
  "luminance": 0.18184
}

Semantic roles & 50–950 ramp

primary
#CC33AC
secondary
#8BD099
accent
#E36645
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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