#CC33AA#CC33AA

#CC33AA is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.5% C 0.222 H 338.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CC33AA
RGBrgb(204, 51, 170)
HSLhsl(313, 60%, 50%)
HSVhsv(313, 75%, 80%)
CMYKcmyk(0%, 75%, 16.7%, 20%)
CIE-LABlab(49.63, 69.74, -29.80)
CIE-LCHlch(49.63, 75.84, 336.86°)
OKLaboklab(59.53% 0.2071 -0.0808)
OKLCHoklch(59.53% 0.222 338.7)
XYZxyz(33.3422, 18.1105, 39.7621)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33AA #33CC55
analogous
#A133CC #CC33AA #CC335E
triadic
#CC33AA #AACC33 #33AACC
tetradic
#CC33AA #CCA133 #33CC55 #335ECC
square
#CC33AA #CCA133 #33CC55 #335ECC
split-complementary
#CC33AA #5ECC33 #33CCA1
monochromatic
#6A1B58 #9B2781 #CC33AA #D864BE #E495D3

Accessibility & contrast

On white

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

On black

4.62
#CC33AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33AA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33AA#FFFFFF#000000##000000
##CC33AA1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AD
Deuteranopia (green-blind)
#6F7FA6
Tritanopia (blue-blind)
#D83A6B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc33aa;
/* rgb */ color: rgb(204, 51, 170);
/* oklch */ color: oklch(59.5% 0.222 338.7);
Tailwind
colors: {
  custom: {
    50: '#e07ac3',
    500: '#cc33aa',
    950: '#000000',
  },
}
SCSS
$custom: #cc33aa;
$custom-light: #e07ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33aa",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 313.333,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.59526,
    "c": 0.22225,
    "h": 338.7
  },
  "luminance": 0.18107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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