#D937AB#D937AB

#D937AB is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.9% C 0.226 H 342.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D937AB
RGBrgb(217, 55, 171)
HSLhsl(317, 68%, 53%)
HSVhsv(317, 75%, 85%)
CMYKcmyk(0%, 74.7%, 21.2%, 14.9%)
CIE-LABlab(52.32, 71.70, -26.04)
CIE-LCHlch(52.32, 76.28, 340.04°)
OKLaboklab(61.9% 0.2154 -0.0699)
OKLCHoklch(61.9% 0.226 342)
XYZxyz(37.3334, 20.4282, 40.4971)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D937AB #37D965
analogous
#B637D9 #D937AB #D9375A
triadic
#D937AB #ABD937 #37ABD9
tetradic
#D937AB #D9B637 #37D965 #375AD9
square
#D937AB #D9B637 #37D965 #375AD9
split-complementary
#D937AB #5AD937 #37D9B6
monochromatic
#7E1861 #B12288 #D937AB #E36AC1 #ED9ED6

Accessibility & contrast

On white

4.13
#D937AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D937AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D937AB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D937AB#FFFFFF#000000##000000
##D937AB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#476CAE
Deuteranopia (green-blind)
#7A86A7
Tritanopia (blue-blind)
#E7396D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d937ab;
/* rgb */ color: rgb(217, 55, 171);
/* oklch */ color: oklch(61.9% 0.226 342.0);
Tailwind
colors: {
  custom: {
    50: '#e97ec4',
    500: '#d937ab',
    950: '#000000',
  },
}
SCSS
$custom: #d937ab;
$custom-light: #e97ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#d937ab",
  "rgb": {
    "r": 217,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 317.037,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61899,
    "c": 0.22648,
    "h": 342
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#D937AB
secondary
#93D9A7
accent
#EB6E3D
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170B12
muted
#857C81

Preview Lab

Preview with #D937AB

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

Preview Lab → · Contrast checker → · Palette generator →

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