#CC3A71#CC3A71

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

Color values

HEX#CC3A71
RGBrgb(204, 58, 113)
HSLhsl(337, 59%, 51%)
HSVhsv(337, 72%, 80%)
CMYKcmyk(0%, 71.6%, 44.6%, 20%)
CIE-LABlab(48.33, 60.83, 2.46)
CIE-LCHlch(48.33, 60.88, 2.32°)
OKLaboklab(57.89% 0.1863 0.007)
OKLCHoklch(57.89% 0.186 2.2)
XYZxyz(29.3978, 17.0595, 17.3643)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A71 #3ACC95
analogous
#CC3ABA #CC3A71 #CC4C3A
triadic
#CC3A71 #71CC3A #3A71CC
tetradic
#CC3A71 #BACC3A #3ACC95 #4C3ACC
square
#CC3A71 #BACC3A #3ACC95 #4C3ACC
split-complementary
#CC3A71 #3ACC4C #3ABACC
monochromatic
#6F1D3C #A02956 #CC3A71 #D96B94 #E59BB7

Accessibility & contrast

On white

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

On black

4.41
#CC3A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC3A71#FFFFFF#000000##FFFFFF
##CC3A711.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc3a71;
/* rgb */ color: rgb(204, 58, 113);
/* oklch */ color: oklch(57.9% 0.186 2.2);
Tailwind
colors: {
  custom: {
    50: '#e17b99',
    500: '#cc3a71',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a71;
$custom-light: #e17b99;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a71",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 337.397,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57892,
    "c": 0.18647,
    "h": 2.2
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#CC3A71
secondary
#91D1B9
accent
#E2A746
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC3A71

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

Preview Lab → · Contrast checker → · Palette generator →

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