#CC3873#CC3873

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

Color values

HEX#CC3873
RGBrgb(204, 56, 115)
HSLhsl(336, 59%, 51%)
HSVhsv(336, 73%, 80%)
CMYKcmyk(0%, 72.5%, 43.6%, 20%)
CIE-LABlab(48.14, 61.72, 0.97)
CIE-LCHlch(48.14, 61.73, 0.90°)
OKLaboklab(57.77% 0.1893 0.0032)
OKLCHoklch(57.77% 0.189 1)
XYZxyz(29.4128, 16.9073, 17.9309)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3873 #38CC91
analogous
#CC38BD #CC3873 #CC4738
triadic
#CC3873 #73CC38 #3873CC
tetradic
#CC3873 #BDCC38 #38CC91 #4738CC
square
#CC3873 #BDCC38 #38CC91 #4738CC
split-complementary
#CC3873 #38CC47 #38BDCC
monochromatic
#6E1C3D #9E2957 #CC3873 #D86995 #E599B8

Accessibility & contrast

On white

4.79
#CC3873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC3873
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3873#FFFFFF#000000##FFFFFF
##CC38731.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc3873;
/* rgb */ color: rgb(204, 56, 115);
/* oklch */ color: oklch(57.8% 0.189 1.0);
Tailwind
colors: {
  custom: {
    50: '#e17b9b',
    500: '#cc3873',
    950: '#000000',
  },
}
SCSS
$custom: #cc3873;
$custom-light: #e17b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3873",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 336.081,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57769,
    "c": 0.18928,
    "h": 1
  },
  "luminance": 0.16904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3873

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

Preview Lab → · Contrast checker → · Palette generator →

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