#D73871#D73871

#D73871 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.5% C 0.198 H 4.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#D73871
RGBrgb(215, 56, 113)
HSLhsl(338, 67%, 53%)
HSVhsv(338, 74%, 84%)
CMYKcmyk(0%, 74%, 47.4%, 15.7%)
CIE-LABlab(50.06, 64.60, 5.21)
CIE-LCHlch(50.06, 64.81, 4.61°)
OKLaboklab(59.53% 0.1977 0.014)
OKLCHoklch(59.53% 0.198 4)
XYZxyz(32.4218, 18.4720, 17.4778)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D73871 #38D79E
analogous
#D738C0 #D73871 #D74F38
triadic
#D73871 #71D738 #3871D7
tetradic
#D73871 #C0D738 #38D79E #4F38D7
square
#D73871 #C0D738 #38D79E #4F38D7
split-complementary
#D73871 #38D74F #38C0D7
monochromatic
#7C193C #AF2355 #D73871 #E16B95 #EB9EBA

Accessibility & contrast

On white

4.47
#D73871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#D73871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D73871
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D73871#FFFFFF#000000##000000
##D738711.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6372
Deuteranopia (green-blind)
#88826D
Tritanopia (blue-blind)
#EA1650
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d73871;
/* rgb */ color: rgb(215, 56, 113);
/* oklch */ color: oklch(59.5% 0.198 4.0);
Tailwind
colors: {
  custom: {
    50: '#e97c99',
    500: '#d73871',
    950: '#000000',
  },
}
SCSS
$custom: #d73871;
$custom-light: #e97c99;
$custom-dark: #000000;
JSON
{
  "hex": "#d73871",
  "rgb": {
    "r": 215,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 338.491,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.19819,
    "h": 4
  },
  "luminance": 0.18468
}

Semantic roles & 50–950 ramp

primary
#D73871
secondary
#93D8BF
accent
#E9AC3E
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D73871

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

Preview Lab → · Contrast checker → · Palette generator →

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