#CC34A5#CC34A5

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

Color values

HEX#CC34A5
RGBrgb(204, 52, 165)
HSLhsl(315, 60%, 50%)
HSVhsv(315, 75%, 80%)
CMYKcmyk(0%, 74.5%, 19.1%, 20%)
CIE-LABlab(49.51, 68.77, -27.03)
CIE-LCHlch(49.51, 73.89, 338.54°)
OKLaboklab(59.37% 0.2055 -0.0729)
OKLCHoklch(59.37% 0.218 340.5)
XYZxyz(32.9223, 18.0133, 37.3331)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34A5 #34CC5B
analogous
#A734CC #CC34A5 #CC3459
triadic
#CC34A5 #A5CC34 #34A5CC
tetradic
#CC34A5 #CCA734 #34CC5B #3459CC
square
#CC34A5 #CCA734 #34CC5B #3459CC
split-complementary
#CC34A5 #59CC34 #34CCA7
monochromatic
#6B1B56 #9C277E #CC34A5 #D865BB #E596D0

Accessibility & contrast

On white

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

On black

4.60
#CC34A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC34A5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC34A5#FFFFFF#000000##000000
##CC34A51.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4066A8
Deuteranopia (green-blind)
#717EA2
Tritanopia (blue-blind)
#D83869
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc34a5;
/* rgb */ color: rgb(204, 52, 165);
/* oklch */ color: oklch(59.4% 0.218 340.5);
Tailwind
colors: {
  custom: {
    50: '#e07ac0',
    500: '#cc34a5',
    950: '#000000',
  },
}
SCSS
$custom: #cc34a5;
$custom-light: #e07ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34a5",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 315.395,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59367,
    "c": 0.21804,
    "h": 340.5
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC34A5

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

Preview Lab → · Contrast checker → · Palette generator →

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