#CC3872#CC3872

#CC3872 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.7% C 0.189 H 1.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CC3872
RGBrgb(204, 56, 114)
HSLhsl(336, 59%, 51%)
HSVhsv(336, 73%, 80%)
CMYKcmyk(0%, 72.5%, 44.1%, 20%)
CIE-LABlab(48.11, 61.62, 1.53)
CIE-LCHlch(48.11, 61.64, 1.43°)
OKLaboklab(57.74% 0.1889 0.0046)
OKLCHoklch(57.74% 0.189 1.4)
XYZxyz(29.3555, 16.8844, 17.6295)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3872 #38CC92
analogous
#CC38BC #CC3872 #CC4838
triadic
#CC3872 #72CC38 #3872CC
tetradic
#CC3872 #BCCC38 #38CC92 #4838CC
square
#CC3872 #BCCC38 #38CC92 #4838CC
split-complementary
#CC3872 #38CC48 #38BCCC
monochromatic
#6E1C3C #9E2957 #CC3872 #D86995 #E599B7

Accessibility & contrast

On white

4.80
#CC3872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#CC3872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3872
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3872#FFFFFF#000000##FFFFFF
##CC38721.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc3872;
/* rgb */ color: rgb(204, 56, 114);
/* oklch */ color: oklch(57.7% 0.189 1.4);
Tailwind
colors: {
  custom: {
    50: '#e17b9a',
    500: '#cc3872',
    950: '#000000',
  },
}
SCSS
$custom: #cc3872;
$custom-light: #e17b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3872",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 336.486,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57738,
    "c": 0.18897,
    "h": 1.4
  },
  "luminance": 0.16881
}

Semantic roles & 50–950 ramp

primary
#CC3872
secondary
#8FD1B7
accent
#E2A545
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3872

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

Preview Lab → · Contrast checker → · Palette generator →

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