#C73871#C73871

#C73871 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.9% C 0.184 H 0.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C73871
RGBrgb(199, 56, 113)
HSLhsl(336, 56%, 50%)
HSVhsv(336, 72%, 78%)
CMYKcmyk(0%, 71.9%, 43.2%, 22%)
CIE-LABlab(47.19, 60.12, 0.69)
CIE-LCHlch(47.19, 60.12, 0.66°)
OKLaboklab(56.88% 0.1843 0.0025)
OKLCHoklch(56.88% 0.184 0.8)
XYZxyz(27.9501, 16.1663, 17.2681)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C73871 #38C78E
analogous
#C738B8 #C73871 #C74738
triadic
#C73871 #71C738 #3871C7
tetradic
#C73871 #B8C738 #38C78E #4738C7
square
#C73871 #B8C738 #38C78E #4738C7
split-complementary
#C73871 #38C747 #38B8C7
monochromatic
#671D3B #972B56 #C73871 #D46893 #E298B5

Accessibility & contrast

On white

4.96
#C73871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C73871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C73871
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C73871#FFFFFF#000000##FFFFFF
##C738711.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E72
Deuteranopia (green-blind)
#7D7A6E
Tritanopia (blue-blind)
#D82350
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c73871;
/* rgb */ color: rgb(199, 56, 113);
/* oklch */ color: oklch(56.9% 0.184 0.8);
Tailwind
colors: {
  custom: {
    50: '#dd7a99',
    500: '#c73871',
    950: '#000000',
  },
}
SCSS
$custom: #c73871;
$custom-light: #dd7a99;
$custom-dark: #000000;
JSON
{
  "hex": "#c73871",
  "rgb": {
    "r": 199,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 336.084,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.56884,
    "c": 0.18432,
    "h": 0.8
  },
  "luminance": 0.16163
}

Semantic roles & 50–950 ramp

primary
#C73871
secondary
#8DCDB4
accent
#DFA348
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C73871

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

Preview Lab → · Contrast checker → · Palette generator →

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