#CC33A7#CC33A7

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

Color values

HEX#CC33A7
RGBrgb(204, 51, 167)
HSLhsl(315, 60%, 50%)
HSVhsv(315, 75%, 80%)
CMYKcmyk(0%, 75%, 18.1%, 20%)
CIE-LABlab(49.49, 69.34, -28.24)
CIE-LCHlch(49.49, 74.87, 337.84°)
OKLaboklab(59.38% 0.2067 -0.0763)
OKLCHoklch(59.38% 0.22 339.7)
XYZxyz(33.0616, 17.9983, 38.2846)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC33A7 #33CC58
analogous
#A533CC #CC33A7 #CC335A
triadic
#CC33A7 #A7CC33 #33A7CC
tetradic
#CC33A7 #CCA533 #33CC58 #335ACC
square
#CC33A7 #CCA533 #33CC58 #335ACC
split-complementary
#CC33A7 #5ACC33 #33CCA5
monochromatic
#6A1B57 #9B277F #CC33A7 #D864BC #E495D1

Accessibility & contrast

On white

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

On black

4.60
#CC33A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC33A7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC33A7#FFFFFF#000000##000000
##CC33A71.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E66AA
Deuteranopia (green-blind)
#707EA3
Tritanopia (blue-blind)
#D8396A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc33a7;
/* rgb */ color: rgb(204, 51, 167);
/* oklch */ color: oklch(59.4% 0.220 339.7);
Tailwind
colors: {
  custom: {
    50: '#e07ac1',
    500: '#cc33a7',
    950: '#000000',
  },
}
SCSS
$custom: #cc33a7;
$custom-light: #e07ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc33a7",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 314.51,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.22033,
    "h": 339.7
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC33A7

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

Preview Lab → · Contrast checker → · Palette generator →

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