#CC33AB#CC33AB

#CC33AB is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.6% C 0.223 H 338.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CC33AB
RGBrgb(204, 51, 171)
HSLhsl(313, 60%, 50%)
HSVhsv(313, 75%, 80%)
CMYKcmyk(0%, 75%, 16.2%, 20%)
CIE-LABlab(49.68, 69.88, -30.32)
CIE-LCHlch(49.68, 76.17, 336.55°)
OKLaboklab(59.57% 0.2072 -0.0822)
OKLCHoklch(59.57% 0.223 338.3)
XYZxyz(33.4371, 18.1485, 40.2622)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33AB #33CC54
analogous
#A033CC #CC33AB #CC335F
triadic
#CC33AB #ABCC33 #33ABCC
tetradic
#CC33AB #CCA033 #33CC54 #335FCC
square
#CC33AB #CCA033 #33CC54 #335FCC
split-complementary
#CC33AB #5FCC33 #33CCA0
monochromatic
#6A1B59 #9B2782 #CC33AB #D864BF #E495D3

Accessibility & contrast

On white

4.54
#CC33AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CC33AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33AB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33AB#FFFFFF#000000##000000
##CC33AB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc33ab;
/* rgb */ color: rgb(204, 51, 171);
/* oklch */ color: oklch(59.6% 0.223 338.3);
Tailwind
colors: {
  custom: {
    50: '#e07ac4',
    500: '#cc33ab',
    950: '#000000',
  },
}
SCSS
$custom: #cc33ab;
$custom-light: #e07ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33ab",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 312.941,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.59574,
    "c": 0.22289,
    "h": 338.3
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

primary
#CC33AB
secondary
#8BD09A
accent
#E36745
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A12
muted
#847C81

Preview Lab

Preview with #CC33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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