#D93871#D93871

#D93871 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.9% C 0.200 H 4.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#D93871
RGBrgb(217, 56, 113)
HSLhsl(339, 68%, 54%)
HSVhsv(339, 74%, 85%)
CMYKcmyk(0%, 74.2%, 47.9%, 14.9%)
CIE-LABlab(50.42, 65.15, 5.77)
CIE-LCHlch(50.42, 65.41, 5.06°)
OKLaboklab(59.86% 0.1993 0.0154)
OKLCHoklch(59.86% 0.2 4.4)
XYZxyz(33.0129, 18.7768, 17.5055)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D93871 #38D9A0
analogous
#D938C1 #D93871 #D94F38
triadic
#D93871 #71D938 #3871D9
tetradic
#D93871 #C1D938 #38D9A0 #4F38D9
square
#D93871 #C1D938 #38D9A0 #4F38D9
split-complementary
#D93871 #38D94F #38C1D9
monochromatic
#7E183C #B22255 #D93871 #E36B96 #ED9FBA

Accessibility & contrast

On white

4.42
#D93871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#D93871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D93871
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D93871#FFFFFF#000000##000000
##D938711.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6472
Deuteranopia (green-blind)
#89836D
Tritanopia (blue-blind)
#EC1450
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d93871;
/* rgb */ color: rgb(217, 56, 113);
/* oklch */ color: oklch(59.9% 0.200 4.4);
Tailwind
colors: {
  custom: {
    50: '#eb7c99',
    500: '#d93871',
    950: '#000000',
  },
}
SCSS
$custom: #d93871;
$custom-light: #eb7c99;
$custom-dark: #000000;
JSON
{
  "hex": "#d93871",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 338.758,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59861,
    "c": 0.19992,
    "h": 4.4
  },
  "luminance": 0.18772
}

Semantic roles & 50–950 ramp

primary
#D93871
secondary
#94D9C0
accent
#EBAD3D
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D93871

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

Preview Lab → · Contrast checker → · Palette generator →

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