#D938AB#D938AB

#D938AB is a mid, highly saturated pink. Relative luminance 0.205; OKLCH L 62.0% C 0.225 H 342.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D938AB
RGBrgb(217, 56, 171)
HSLhsl(317, 68%, 54%)
HSVhsv(317, 74%, 85%)
CMYKcmyk(0%, 74.2%, 21.2%, 14.9%)
CIE-LABlab(52.42, 71.40, -25.88)
CIE-LCHlch(52.42, 75.94, 340.08°)
OKLaboklab(61.98% 0.2145 -0.0695)
OKLCHoklch(61.98% 0.225 342)
XYZxyz(37.3814, 20.5242, 40.5131)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938AB #38D966
analogous
#B638D9 #D938AB #D9385A
triadic
#D938AB #ABD938 #38ABD9
tetradic
#D938AB #D9B638 #38D966 #385AD9
square
#D938AB #D9B638 #38D966 #385AD9
split-complementary
#D938AB #5AD938 #38D9B6
monochromatic
#7E1861 #B22289 #D938AB #E36BC1 #ED9FD6

Accessibility & contrast

On white

4.11
#D938AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D938AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938AB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938AB#FFFFFF#000000##000000
##D938AB1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d938ab;
/* rgb */ color: rgb(217, 56, 171);
/* oklch */ color: oklch(62.0% 0.225 342.0);
Tailwind
colors: {
  custom: {
    50: '#e97ec4',
    500: '#d938ab',
    950: '#000000',
  },
}
SCSS
$custom: #d938ab;
$custom-light: #e97ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#d938ab",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 317.143,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61976,
    "c": 0.22547,
    "h": 342
  },
  "luminance": 0.2052
}

Semantic roles & 50–950 ramp

primary
#D938AB
secondary
#94D9A8
accent
#EB6F3D
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170B12
muted
#857C81

Preview Lab

Preview with #D938AB

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

Preview Lab → · Contrast checker → · Palette generator →

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