#CC34B2#CC34B2

#CC34B2 is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 60.0% C 0.227 H 336.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CC34B2
RGBrgb(204, 52, 178)
HSLhsl(310, 60%, 50%)
HSVhsv(310, 75%, 80%)
CMYKcmyk(0%, 74.5%, 12.7%, 20%)
CIE-LABlab(50.11, 70.56, -33.75)
CIE-LCHlch(50.11, 78.21, 334.44°)
OKLaboklab(59.99% 0.207 -0.0921)
OKLCHoklch(59.99% 0.227 336)
XYZxyz(34.1663, 18.5108, 43.8844)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34B2 #34CC4E
analogous
#9A34CC #CC34B2 #CC3466
triadic
#CC34B2 #B2CC34 #34B2CC
tetradic
#CC34B2 #CC9A34 #34CC4E #3466CC
square
#CC34B2 #CC9A34 #34CC4E #3466CC
split-complementary
#CC34B2 #66CC34 #34CC9A
monochromatic
#6B1B5D #9C2788 #CC34B2 #D865C5 #E596D7

Accessibility & contrast

On white

4.47
#CC34B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CC34B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC34B2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC34B2#FFFFFF#000000##000000
##CC34B21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#6C7FAE
Tritanopia (blue-blind)
#D63F70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc34b2;
/* rgb */ color: rgb(204, 52, 178);
/* oklch */ color: oklch(60.0% 0.227 336.0);
Tailwind
colors: {
  custom: {
    50: '#e07bc9',
    500: '#cc34b2',
    950: '#000000',
  },
}
SCSS
$custom: #cc34b2;
$custom-light: #e07bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34b2",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 310.263,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59993,
    "c": 0.2265,
    "h": 336
  },
  "luminance": 0.18508
}

Semantic roles & 50–950 ramp

primary
#CC34B2
secondary
#8CD098
accent
#E36045
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC34B2

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

Preview Lab → · Contrast checker → · Palette generator →

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