#D93872#D93872

#D93872 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 59.9% C 0.200 H 4.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#D93872
RGBrgb(217, 56, 114)
HSLhsl(338, 68%, 54%)
HSVhsv(338, 74%, 85%)
CMYKcmyk(0%, 74.2%, 47.5%, 14.9%)
CIE-LABlab(50.45, 65.24, 5.21)
CIE-LCHlch(50.45, 65.45, 4.56°)
OKLaboklab(59.89% 0.1997 0.014)
OKLCHoklch(59.89% 0.2 4)
XYZxyz(33.0695, 18.7994, 17.8036)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D93872 #38D99F
analogous
#D938C2 #D93872 #D94E38
triadic
#D93872 #72D938 #3872D9
tetradic
#D93872 #C2D938 #38D99F #4E38D9
square
#D93872 #C2D938 #38D99F #4E38D9
split-complementary
#D93872 #38D94E #38C2D9
monochromatic
#7E183D #B22256 #D93872 #E36B96 #ED9FBB

Accessibility & contrast

On white

4.41
#D93872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#D93872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D93872
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D93872#FFFFFF#000000##000000
##D938721.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6473
Deuteranopia (green-blind)
#89846E
Tritanopia (blue-blind)
#EC1451
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d93872;
/* rgb */ color: rgb(217, 56, 114);
/* oklch */ color: oklch(59.9% 0.200 4.0);
Tailwind
colors: {
  custom: {
    50: '#eb7c9a',
    500: '#d93872',
    950: '#000000',
  },
}
SCSS
$custom: #d93872;
$custom-light: #eb7c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d93872",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 338.385,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5989,
    "c": 0.20017,
    "h": 4
  },
  "luminance": 0.18795
}

Semantic roles & 50–950 ramp

primary
#D93872
secondary
#94D9C0
accent
#EBAC3D
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D93872

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

Preview Lab → · Contrast checker → · Palette generator →

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