#CC34A6#CC34A6

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

Color values

HEX#CC34A6
RGBrgb(204, 52, 166)
HSLhsl(315, 60%, 50%)
HSVhsv(315, 75%, 80%)
CMYKcmyk(0%, 74.5%, 18.6%, 20%)
CIE-LABlab(49.56, 68.90, -27.55)
CIE-LCHlch(49.56, 74.20, 338.20°)
OKLaboklab(59.41% 0.2056 -0.0744)
OKLCHoklch(59.41% 0.219 340.1)
XYZxyz(33.0137, 18.0498, 37.8143)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34A6 #34CC5A
analogous
#A634CC #CC34A6 #CC345A
triadic
#CC34A6 #A6CC34 #34A6CC
tetradic
#CC34A6 #CCA634 #34CC5A #345ACC
square
#CC34A6 #CCA634 #34CC5A #345ACC
split-complementary
#CC34A6 #5ACC34 #34CCA6
monochromatic
#6B1B57 #9C277F #CC34A6 #D865BB #E596D1

Accessibility & contrast

On white

4.56
#CC34A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#CC34A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC34A6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC34A6#FFFFFF#000000##000000
##CC34A61.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F66A9
Deuteranopia (green-blind)
#717EA3
Tritanopia (blue-blind)
#D83969
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc34a6;
/* rgb */ color: rgb(204, 52, 166);
/* oklch */ color: oklch(59.4% 0.219 340.1);
Tailwind
colors: {
  custom: {
    50: '#e07ac0',
    500: '#cc34a6',
    950: '#000000',
  },
}
SCSS
$custom: #cc34a6;
$custom-light: #e07ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34a6",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 166
  },
  "hsl": {
    "h": 315,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59414,
    "c": 0.21867,
    "h": 340.1
  },
  "luminance": 0.18047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC34A6

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

Preview Lab → · Contrast checker → · Palette generator →

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