#CC3971#CC3971

#CC3971 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.8% C 0.188 H 2.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CC3971
RGBrgb(204, 57, 113)
HSLhsl(337, 59%, 51%)
HSVhsv(337, 72%, 80%)
CMYKcmyk(0%, 72.1%, 44.6%, 20%)
CIE-LABlab(48.21, 61.18, 2.28)
CIE-LCHlch(48.21, 61.23, 2.14°)
OKLaboklab(57.8% 0.1875 0.0066)
OKLCHoklch(57.8% 0.188 2)
XYZxyz(29.3479, 16.9597, 17.3477)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3971 #39CC94
analogous
#CC39BA #CC3971 #CC4A39
triadic
#CC3971 #71CC39 #3971CC
tetradic
#CC3971 #BACC39 #39CC94 #4A39CC
square
#CC3971 #BACC39 #39CC94 #4A39CC
split-complementary
#CC3971 #39CC4A #39BACC
monochromatic
#6E1C3C #9F2956 #CC3971 #D96A94 #E59AB7

Accessibility & contrast

On white

4.78
#CC3971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CC3971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3971
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3971#FFFFFF#000000##FFFFFF
##CC39711.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6072
Deuteranopia (green-blind)
#817D6E
Tritanopia (blue-blind)
#DD2151
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc3971;
/* rgb */ color: rgb(204, 57, 113);
/* oklch */ color: oklch(57.8% 0.188 2.0);
Tailwind
colors: {
  custom: {
    50: '#e17b99',
    500: '#cc3971',
    950: '#000000',
  },
}
SCSS
$custom: #cc3971;
$custom-light: #e17b99;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3971",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 337.143,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.18757,
    "h": 2
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#CC3971
secondary
#90D1B8
accent
#E2A746
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC3971

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

Preview Lab → · Contrast checker → · Palette generator →

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