#CC34AD#CC34AD

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

Color values

HEX#CC34AD
RGBrgb(204, 52, 173)
HSLhsl(312, 60%, 50%)
HSVhsv(312, 75%, 80%)
CMYKcmyk(0%, 74.5%, 15.2%, 20%)
CIE-LABlab(49.87, 69.85, -31.18)
CIE-LCHlch(49.87, 76.50, 335.94°)
OKLaboklab(59.75% 0.2065 -0.0847)
OKLCHoklch(59.75% 0.223 337.7)
XYZxyz(33.6734, 18.3137, 41.2885)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34AD #34CC53
analogous
#9F34CC #CC34AD #CC3461
triadic
#CC34AD #ADCC34 #34ADCC
tetradic
#CC34AD #CC9F34 #34CC53 #3461CC
square
#CC34AD #CC9F34 #34CC53 #3461CC
split-complementary
#CC34AD #61CC34 #34CC9F
monochromatic
#6B1B5A #9C2784 #CC34AD #D865C1 #E596D5

Accessibility & contrast

On white

4.50
#CC34AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CC34AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC34AD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC34AD#FFFFFF#000000##000000
##CC34AD1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B0
Deuteranopia (green-blind)
#6E7FA9
Tritanopia (blue-blind)
#D73D6D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc34ad;
/* rgb */ color: rgb(204, 52, 173);
/* oklch */ color: oklch(59.7% 0.223 337.7);
Tailwind
colors: {
  custom: {
    50: '#e07bc6',
    500: '#cc34ad',
    950: '#000000',
  },
}
SCSS
$custom: #cc34ad;
$custom-light: #e07bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34ad",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 312.237,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.22318,
    "h": 337.7
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC34AD

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

Preview Lab → · Contrast checker → · Palette generator →

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