#CC34A4#CC34A4

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

Color values

HEX#CC34A4
RGBrgb(204, 52, 164)
HSLhsl(316, 60%, 50%)
HSVhsv(316, 75%, 80%)
CMYKcmyk(0%, 74.5%, 19.6%, 20%)
CIE-LABlab(49.47, 68.63, -26.51)
CIE-LCHlch(49.47, 73.57, 338.88°)
OKLaboklab(59.32% 0.2054 -0.0714)
OKLCHoklch(59.32% 0.217 340.8)
XYZxyz(32.8317, 17.9770, 36.8556)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34A4 #34CC5C
analogous
#A834CC #CC34A4 #CC3458
triadic
#CC34A4 #A4CC34 #34A4CC
tetradic
#CC34A4 #CCA834 #34CC5C #3458CC
square
#CC34A4 #CCA834 #34CC5C #3458CC
split-complementary
#CC34A4 #58CC34 #34CCA8
monochromatic
#6B1B56 #9C277D #CC34A4 #D865BA #E596D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC34A4#FFFFFF#000000##000000
##CC34A41.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4066A7
Deuteranopia (green-blind)
#727EA1
Tritanopia (blue-blind)
#D83868
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc34a4;
/* rgb */ color: rgb(204, 52, 164);
/* oklch */ color: oklch(59.3% 0.217 340.8);
Tailwind
colors: {
  custom: {
    50: '#e07abf',
    500: '#cc34a4',
    950: '#000000',
  },
}
SCSS
$custom: #cc34a4;
$custom-light: #e07abf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34a4",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 315.789,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59321,
    "c": 0.21742,
    "h": 340.8
  },
  "luminance": 0.17974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC34A4

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

Preview Lab → · Contrast checker → · Palette generator →

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