#D93873#D93873

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

Color values

HEX#D93873
RGBrgb(217, 56, 115)
HSLhsl(338, 68%, 54%)
HSVhsv(338, 74%, 85%)
CMYKcmyk(0%, 74.2%, 47%, 14.9%)
CIE-LABlab(50.48, 65.32, 4.64)
CIE-LCHlch(50.48, 65.49, 4.06°)
OKLaboklab(59.92% 0.2 0.0126)
OKLCHoklch(59.92% 0.2 3.6)
XYZxyz(33.1267, 18.8223, 18.1050)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D93873 #38D99E
analogous
#D938C4 #D93873 #D94D38
triadic
#D93873 #73D938 #3873D9
tetradic
#D93873 #C4D938 #38D99E #4D38D9
square
#D93873 #C4D938 #38D99E #4D38D9
split-complementary
#D93873 #38D94D #38C4D9
monochromatic
#7E183E #B22257 #D93873 #E36B97 #ED9FBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D93873#FFFFFF#000000##000000
##D938731.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)
#5E6474
Deuteranopia (green-blind)
#89846F
Tritanopia (blue-blind)
#EC1551
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d93873;
/* rgb */ color: rgb(217, 56, 115);
/* oklch */ color: oklch(59.9% 0.200 3.6);
Tailwind
colors: {
  custom: {
    50: '#eb7c9b',
    500: '#d93873',
    950: '#000000',
  },
}
SCSS
$custom: #d93873;
$custom-light: #eb7c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d93873",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 338.012,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59918,
    "c": 0.20041,
    "h": 3.6
  },
  "luminance": 0.18818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D93873

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

Preview Lab → · Contrast checker → · Palette generator →

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