#CC34B0#CC34B0

#CC34B0 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.9% C 0.225 H 336.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CC34B0
RGBrgb(204, 52, 176)
HSLhsl(311, 60%, 50%)
HSVhsv(311, 75%, 80%)
CMYKcmyk(0%, 74.5%, 13.7%, 20%)
CIE-LABlab(50.01, 70.27, -32.73)
CIE-LCHlch(50.01, 77.52, 335.03°)
OKLaboklab(59.89% 0.2068 -0.0891)
OKLCHoklch(59.89% 0.225 336.7)
XYZxyz(33.9669, 18.4311, 42.8345)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34B0 #34CC50
analogous
#9C34CC #CC34B0 #CC3464
triadic
#CC34B0 #B0CC34 #34B0CC
tetradic
#CC34B0 #CC9C34 #34CC50 #3464CC
square
#CC34B0 #CC9C34 #34CC50 #3464CC
split-complementary
#CC34B0 #64CC34 #34CC9C
monochromatic
#6B1B5C #9C2786 #CC34B0 #D865C3 #E596D6

Accessibility & contrast

On white

4.48
#CC34B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CC34B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC34B0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC34B0#FFFFFF#000000##000000
##CC34B01.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3868B3
Deuteranopia (green-blind)
#6D7FAC
Tritanopia (blue-blind)
#D73E6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc34b0;
/* rgb */ color: rgb(204, 52, 176);
/* oklch */ color: oklch(59.9% 0.225 336.7);
Tailwind
colors: {
  custom: {
    50: '#e07bc8',
    500: '#cc34b0',
    950: '#000000',
  },
}
SCSS
$custom: #cc34b0;
$custom-light: #e07bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34b0",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 311.053,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59894,
    "c": 0.22516,
    "h": 336.7
  },
  "luminance": 0.18428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC34B0

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

Preview Lab → · Contrast checker → · Palette generator →

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