#CC34A7#CC34A7

#CC34A7 is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.5% C 0.219 H 339.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CC34A7
RGBrgb(204, 52, 167)
HSLhsl(315, 60%, 50%)
HSVhsv(315, 75%, 80%)
CMYKcmyk(0%, 74.5%, 18.1%, 20%)
CIE-LABlab(49.60, 69.03, -28.07)
CIE-LCHlch(49.60, 74.52, 337.87°)
OKLaboklab(59.46% 0.2058 -0.0759)
OKLCHoklch(59.46% 0.219 339.8)
XYZxyz(33.1058, 18.0866, 38.2993)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34A7 #34CC59
analogous
#A534CC #CC34A7 #CC345B
triadic
#CC34A7 #A7CC34 #34A7CC
tetradic
#CC34A7 #CCA534 #34CC59 #345BCC
square
#CC34A7 #CCA534 #34CC59 #345BCC
split-complementary
#CC34A7 #5BCC34 #34CCA5
monochromatic
#6B1B57 #9C277F #CC34A7 #D865BC #E596D1

Accessibility & contrast

On white

4.55
#CC34A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CC34A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC34A7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC34A7#FFFFFF#000000##000000
##CC34A71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E67AA
Deuteranopia (green-blind)
#707FA4
Tritanopia (blue-blind)
#D83A6A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc34a7;
/* rgb */ color: rgb(204, 52, 167);
/* oklch */ color: oklch(59.5% 0.219 339.8);
Tailwind
colors: {
  custom: {
    50: '#e07ac1',
    500: '#cc34a7',
    950: '#000000',
  },
}
SCSS
$custom: #cc34a7;
$custom-light: #e07ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34a7",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 314.605,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5946,
    "c": 0.21931,
    "h": 339.8
  },
  "luminance": 0.18083
}

Semantic roles & 50–950 ramp

primary
#CC34A7
secondary
#8CD09C
accent
#E36B45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CC34A7

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

Preview Lab → · Contrast checker → · Palette generator →

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