#CC34AB#CC34AB

#CC34AB is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.7% C 0.222 H 338.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CC34AB
RGBrgb(204, 52, 171)
HSLhsl(313, 60%, 50%)
HSVhsv(313, 75%, 80%)
CMYKcmyk(0%, 74.5%, 16.2%, 20%)
CIE-LABlab(49.78, 69.58, -30.15)
CIE-LCHlch(49.78, 75.83, 336.57°)
OKLaboklab(59.65% 0.2063 -0.0818)
OKLCHoklch(59.65% 0.222 338.4)
XYZxyz(33.4813, 18.2368, 40.2769)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34AB #34CC55
analogous
#A134CC #CC34AB #CC345F
triadic
#CC34AB #ABCC34 #34ABCC
tetradic
#CC34AB #CCA134 #34CC55 #345FCC
square
#CC34AB #CCA134 #34CC55 #345FCC
split-complementary
#CC34AB #5FCC34 #34CCA1
monochromatic
#6B1B59 #9C2782 #CC34AB #D865BF #E596D3

Accessibility & contrast

On white

4.52
#CC34AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CC34AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC34AB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC34AB#FFFFFF#000000##000000
##CC34AB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AE
Deuteranopia (green-blind)
#6F7FA7
Tritanopia (blue-blind)
#D73C6C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc34ab;
/* rgb */ color: rgb(204, 52, 171);
/* oklch */ color: oklch(59.7% 0.222 338.4);
Tailwind
colors: {
  custom: {
    50: '#e07bc4',
    500: '#cc34ab',
    950: '#000000',
  },
}
SCSS
$custom: #cc34ab;
$custom-light: #e07bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34ab",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 313.026,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5965,
    "c": 0.22187,
    "h": 338.4
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#CC34AB
secondary
#8CD09B
accent
#E36745
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A12
muted
#847C81

Preview Lab

Preview with #CC34AB

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

Preview Lab → · Contrast checker → · Palette generator →

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