#CC33A4#CC33A4

#CC33A4 is a mid, highly saturated pink. Relative luminance 0.179; OKLCH L 59.2% C 0.218 H 340.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC33A4
RGBrgb(204, 51, 164)
HSLhsl(316, 60%, 50%)
HSVhsv(316, 75%, 80%)
CMYKcmyk(0%, 75%, 19.6%, 20%)
CIE-LABlab(49.36, 68.94, -26.67)
CIE-LCHlch(49.36, 73.92, 338.85°)
OKLaboklab(59.24% 0.2063 -0.0719)
OKLCHoklch(59.24% 0.218 340.8)
XYZxyz(32.7875, 17.8887, 36.8409)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33A4 #33CC5B
analogous
#A733CC #CC33A4 #CC3358
triadic
#CC33A4 #A4CC33 #33A4CC
tetradic
#CC33A4 #CCA733 #33CC5B #3358CC
square
#CC33A4 #CCA733 #33CC5B #3358CC
split-complementary
#CC33A4 #58CC33 #33CCA7
monochromatic
#6A1B55 #9B277D #CC33A4 #D864BA #E495D0

Accessibility & contrast

On white

4.59
#CC33A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CC33A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC33A4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33A4#FFFFFF#000000##FFFFFF
##CC33A41.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A7
Deuteranopia (green-blind)
#717EA1
Tritanopia (blue-blind)
#D83768
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc33a4;
/* rgb */ color: rgb(204, 51, 164);
/* oklch */ color: oklch(59.2% 0.218 340.8);
Tailwind
colors: {
  custom: {
    50: '#e07abf',
    500: '#cc33a4',
    950: '#000000',
  },
}
SCSS
$custom: #cc33a4;
$custom-light: #e07abf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33a4",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 315.686,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.59243,
    "c": 0.21845,
    "h": 340.8
  },
  "luminance": 0.17885
}

Semantic roles & 50–950 ramp

primary
#CC33A4
secondary
#8BD09D
accent
#E36E45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CC33A4

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

Preview Lab → · Contrast checker → · Palette generator →

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