#CC3A72#CC3A72

#CC3A72 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.9% C 0.187 H 1.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CC3A72
RGBrgb(204, 58, 114)
HSLhsl(337, 59%, 51%)
HSVhsv(337, 72%, 80%)
CMYKcmyk(0%, 71.6%, 44.1%, 20%)
CIE-LABlab(48.36, 60.93, 1.90)
CIE-LCHlch(48.36, 60.96, 1.78°)
OKLaboklab(57.92% 0.1867 0.0056)
OKLCHoklch(57.92% 0.187 1.7)
XYZxyz(29.4544, 17.0822, 17.6625)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A72 #3ACC94
analogous
#CC3ABB #CC3A72 #CC4B3A
triadic
#CC3A72 #72CC3A #3A72CC
tetradic
#CC3A72 #BBCC3A #3ACC94 #4B3ACC
square
#CC3A72 #BBCC3A #3ACC94 #4B3ACC
split-complementary
#CC3A72 #3ACC4B #3ABBCC
monochromatic
#6F1D3C #A02957 #CC3A72 #D96B95 #E59BB8

Accessibility & contrast

On white

4.76
#CC3A72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CC3A72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3A72
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A72#FFFFFF#000000##FFFFFF
##CC3A721.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6173
Deuteranopia (green-blind)
#817D6F
Tritanopia (blue-blind)
#DD2351
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3a72;
/* rgb */ color: rgb(204, 58, 114);
/* oklch */ color: oklch(57.9% 0.187 1.7);
Tailwind
colors: {
  custom: {
    50: '#e17b9a',
    500: '#cc3a72',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a72;
$custom-light: #e17b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a72",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 114
  },
  "hsl": {
    "h": 336.986,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57922,
    "c": 0.18677,
    "h": 1.7
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#CC3A72
secondary
#91D1B8
accent
#E2A646
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3A72

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

Preview Lab → · Contrast checker → · Palette generator →

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