#CC33A6#CC33A6

#CC33A6 is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.3% C 0.220 H 340.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC33A6
RGBrgb(204, 51, 166)
HSLhsl(315, 60%, 50%)
HSVhsv(315, 75%, 80%)
CMYKcmyk(0%, 75%, 18.6%, 20%)
CIE-LABlab(49.45, 69.20, -27.72)
CIE-LCHlch(49.45, 74.55, 338.17°)
OKLaboklab(59.34% 0.2066 -0.0749)
OKLCHoklch(59.34% 0.22 340.1)
XYZxyz(32.9695, 17.9615, 37.7996)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33A6 #33CC59
analogous
#A633CC #CC33A6 #CC3359
triadic
#CC33A6 #A6CC33 #33A6CC
tetradic
#CC33A6 #CCA633 #33CC59 #3359CC
square
#CC33A6 #CCA633 #33CC59 #3359CC
split-complementary
#CC33A6 #59CC33 #33CCA6
monochromatic
#6A1B56 #9B277E #CC33A6 #D864BB #E495D1

Accessibility & contrast

On white

4.57
#CC33A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CC33A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33A6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33A6#FFFFFF#000000##000000
##CC33A61.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E66A9
Deuteranopia (green-blind)
#707EA2
Tritanopia (blue-blind)
#D83869
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc33a6;
/* rgb */ color: rgb(204, 51, 166);
/* oklch */ color: oklch(59.3% 0.220 340.1);
Tailwind
colors: {
  custom: {
    50: '#e07ac0',
    500: '#cc33a6',
    950: '#000000',
  },
}
SCSS
$custom: #cc33a6;
$custom-light: #e07ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33a6",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 314.902,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.2197,
    "h": 340.1
  },
  "luminance": 0.17958
}

Semantic roles & 50–950 ramp

primary
#CC33A6
secondary
#8BD09C
accent
#E36C45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CC33A6

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

Preview Lab → · Contrast checker → · Palette generator →

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