#CC34AF#CC34AF

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

Color values

HEX#CC34AF
RGBrgb(204, 52, 175)
HSLhsl(311, 60%, 50%)
HSVhsv(311, 75%, 80%)
CMYKcmyk(0%, 74.5%, 14.2%, 20%)
CIE-LABlab(49.97, 70.13, -32.21)
CIE-LCHlch(49.97, 77.18, 335.33°)
OKLaboklab(59.85% 0.2067 -0.0877)
OKLCHoklch(59.85% 0.225 337)
XYZxyz(33.8683, 18.3917, 42.3154)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC34AF #34CC51
analogous
#9D34CC #CC34AF #CC3463
triadic
#CC34AF #AFCC34 #34AFCC
tetradic
#CC34AF #CC9D34 #34CC51 #3463CC
square
#CC34AF #CC9D34 #34CC51 #3463CC
split-complementary
#CC34AF #63CC34 #34CC9D
monochromatic
#6B1B5C #9C2785 #CC34AF #D865C2 #E596D6

Accessibility & contrast

On white

4.49
#CC34AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CC34AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC34AF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC34AF#FFFFFF#000000##000000
##CC34AF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3968B2
Deuteranopia (green-blind)
#6D7FAB
Tritanopia (blue-blind)
#D73E6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc34af;
/* rgb */ color: rgb(204, 52, 175);
/* oklch */ color: oklch(59.8% 0.225 337.0);
Tailwind
colors: {
  custom: {
    50: '#e07bc7',
    500: '#cc34af',
    950: '#000000',
  },
}
SCSS
$custom: #cc34af;
$custom-light: #e07bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc34af",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 311.447,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.2245,
    "h": 337
  },
  "luminance": 0.18388
}

Semantic roles & 50–950 ramp

primary
#CC34AF
secondary
#8CD099
accent
#E36345
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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