#CC3972#CC3972

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

Color values

HEX#CC3972
RGBrgb(204, 57, 114)
HSLhsl(337, 59%, 51%)
HSVhsv(337, 72%, 80%)
CMYKcmyk(0%, 72.1%, 44.1%, 20%)
CIE-LABlab(48.24, 61.28, 1.71)
CIE-LCHlch(48.24, 61.30, 1.60°)
OKLaboklab(57.83% 0.1878 0.0051)
OKLCHoklch(57.83% 0.188 1.6)
XYZxyz(29.4045, 16.9823, 17.6458)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3972 #39CC93
analogous
#CC39BB #CC3972 #CC4939
triadic
#CC3972 #72CC39 #3972CC
tetradic
#CC3972 #BBCC39 #39CC93 #4939CC
square
#CC3972 #BBCC39 #39CC93 #4939CC
split-complementary
#CC3972 #39CC49 #39BBCC
monochromatic
#6E1C3C #9F2957 #CC3972 #D96A95 #E59AB7

Accessibility & contrast

On white

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

On black

4.40
#CC3972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC3972#FFFFFF#000000##FFFFFF
##CC39721.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596073
Deuteranopia (green-blind)
#817D6F
Tritanopia (blue-blind)
#DD2151
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc3972;
/* rgb */ color: rgb(204, 57, 114);
/* oklch */ color: oklch(57.8% 0.188 1.6);
Tailwind
colors: {
  custom: {
    50: '#e17b9a',
    500: '#cc3972',
    950: '#000000',
  },
}
SCSS
$custom: #cc3972;
$custom-light: #e17b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3972",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 114
  },
  "hsl": {
    "h": 336.735,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5783,
    "c": 0.18788,
    "h": 1.6
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#CC3972
secondary
#90D1B8
accent
#E2A546
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3972

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

Preview Lab → · Contrast checker → · Palette generator →

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