#CC34A2#CC34A2

#CC34A2 is a mid, highly saturated pink. Relative luminance 0.179; OKLCH L 59.2% C 0.216 H 341.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#CC34A2
RGBrgb(204, 52, 162)
HSLhsl(317, 60%, 50%)
HSVhsv(317, 75%, 80%)
CMYKcmyk(0%, 74.5%, 20.6%, 20%)
CIE-LABlab(49.38, 68.37, -25.46)
CIE-LCHlch(49.38, 72.95, 339.58°)
OKLaboklab(59.23% 0.2051 -0.0685)
OKLCHoklch(59.23% 0.216 341.5)
XYZxyz(32.6525, 17.9053, 35.9119)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34A2 #34CC5E
analogous
#AA34CC #CC34A2 #CC3456
triadic
#CC34A2 #A2CC34 #34A2CC
tetradic
#CC34A2 #CCAA34 #34CC5E #3456CC
square
#CC34A2 #CCAA34 #34CC5E #3456CC
split-complementary
#CC34A2 #56CC34 #34CCAA
monochromatic
#6B1B55 #9C277B #CC34A2 #D865B8 #E596CF

Accessibility & contrast

On white

4.58
#CC34A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CC34A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC34A2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC34A2#FFFFFF#000000##000000
##CC34A21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4266A5
Deuteranopia (green-blind)
#727E9F
Tritanopia (blue-blind)
#D93767
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc34a2;
/* rgb */ color: rgb(204, 52, 162);
/* oklch */ color: oklch(59.2% 0.216 341.5);
Tailwind
colors: {
  custom: {
    50: '#e07abd',
    500: '#cc34a2',
    950: '#000000',
  },
}
SCSS
$custom: #cc34a2;
$custom-light: #e07abd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34a2",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 316.579,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5923,
    "c": 0.21618,
    "h": 341.5
  },
  "luminance": 0.17902
}

Semantic roles & 50–950 ramp

primary
#CC34A2
secondary
#8CD09F
accent
#E37145
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CC34A2

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

Preview Lab → · Contrast checker → · Palette generator →

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