#CC34AC#CC34AC

#CC34AC is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.7% C 0.223 H 338.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CC34AC
RGBrgb(204, 52, 172)
HSLhsl(313, 60%, 50%)
HSVhsv(313, 75%, 80%)
CMYKcmyk(0%, 74.5%, 15.7%, 20%)
CIE-LABlab(49.83, 69.72, -30.67)
CIE-LCHlch(49.83, 76.16, 336.25°)
OKLaboklab(59.7% 0.2064 -0.0832)
OKLCHoklch(59.7% 0.223 338)
XYZxyz(33.5770, 18.2751, 40.7808)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34AC #34CC54
analogous
#A034CC #CC34AC #CC3460
triadic
#CC34AC #ACCC34 #34ACCC
tetradic
#CC34AC #CCA034 #34CC54 #3460CC
square
#CC34AC #CCA034 #34CC54 #3460CC
split-complementary
#CC34AC #60CC34 #34CCA0
monochromatic
#6B1B5A #9C2783 #CC34AC #D865C0 #E596D4

Accessibility & contrast

On white

4.51
#CC34AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CC34AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC34AC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC34AC#FFFFFF#000000##000000
##CC34AC1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B68AF
Deuteranopia (green-blind)
#6E7FA8
Tritanopia (blue-blind)
#D73C6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc34ac;
/* rgb */ color: rgb(204, 52, 172);
/* oklch */ color: oklch(59.7% 0.223 338.0);
Tailwind
colors: {
  custom: {
    50: '#e07bc5',
    500: '#cc34ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc34ac;
$custom-light: #e07bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34ac",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 312.632,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59698,
    "c": 0.22252,
    "h": 338
  },
  "luminance": 0.18272
}

Semantic roles & 50–950 ramp

primary
#CC34AC
secondary
#8CD09A
accent
#E36645
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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