#CC34A3#CC34A3

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

Color values

HEX#CC34A3
RGBrgb(204, 52, 163)
HSLhsl(316, 60%, 50%)
HSVhsv(316, 75%, 80%)
CMYKcmyk(0%, 74.5%, 20.1%, 20%)
CIE-LABlab(49.42, 68.50, -25.98)
CIE-LCHlch(49.42, 73.26, 339.23°)
OKLaboklab(59.28% 0.2052 -0.0699)
OKLCHoklch(59.28% 0.217 341.2)
XYZxyz(32.7417, 17.9410, 36.3819)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34A3 #34CC5D
analogous
#A934CC #CC34A3 #CC3457
triadic
#CC34A3 #A3CC34 #34A3CC
tetradic
#CC34A3 #CCA934 #34CC5D #3457CC
square
#CC34A3 #CCA934 #34CC5D #3457CC
split-complementary
#CC34A3 #57CC34 #34CCA9
monochromatic
#6B1B55 #9C277C #CC34A3 #D865B9 #E596CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC34A3#FFFFFF#000000##000000
##CC34A31.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4166A6
Deuteranopia (green-blind)
#727EA0
Tritanopia (blue-blind)
#D83768
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc34a3;
/* rgb */ color: rgb(204, 52, 163);
/* oklch */ color: oklch(59.3% 0.217 341.2);
Tailwind
colors: {
  custom: {
    50: '#e07abe',
    500: '#cc34a3',
    950: '#000000',
  },
}
SCSS
$custom: #cc34a3;
$custom-light: #e07abe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34a3",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 163
  },
  "hsl": {
    "h": 316.184,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.21679,
    "h": 341.2
  },
  "luminance": 0.17938
}

Semantic roles & 50–950 ramp

primary
#CC34A3
secondary
#8CD09E
accent
#E36F45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CC34A3

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

Preview Lab → · Contrast checker → · Palette generator →

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