#D938AD#D938AD

#D938AD is a light, highly saturated pink. Relative luminance 0.206; OKLCH L 62.1% C 0.227 H 341.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D938AD
RGBrgb(217, 56, 173)
HSLhsl(316, 68%, 54%)
HSVhsv(316, 74%, 85%)
CMYKcmyk(0%, 74.2%, 20.3%, 14.9%)
CIE-LABlab(52.51, 71.66, -26.92)
CIE-LCHlch(52.51, 76.55, 339.41°)
OKLaboklab(62.07% 0.2148 -0.0724)
OKLCHoklch(62.07% 0.227 341.4)
XYZxyz(37.5735, 20.6010, 41.5247)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938AD #38D964
analogous
#B538D9 #D938AD #D9385C
triadic
#D938AD #ADD938 #38ADD9
tetradic
#D938AD #D9B538 #38D964 #385CD9
square
#D938AD #D9B538 #38D964 #385CD9
split-complementary
#D938AD #5CD938 #38D9B5
monochromatic
#7E1862 #B2228B #D938AD #E36BC2 #ED9FD7

Accessibility & contrast

On white

4.10
#D938AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D938AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938AD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938AD#FFFFFF#000000##000000
##D938AD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#466DB0
Deuteranopia (green-blind)
#7A87A9
Tritanopia (blue-blind)
#E63B6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d938ad;
/* rgb */ color: rgb(217, 56, 173);
/* oklch */ color: oklch(62.1% 0.227 341.4);
Tailwind
colors: {
  custom: {
    50: '#e97ec5',
    500: '#d938ad',
    950: '#000000',
  },
}
SCSS
$custom: #d938ad;
$custom-light: #e97ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#d938ad",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 316.398,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62066,
    "c": 0.22667,
    "h": 341.4
  },
  "luminance": 0.20597
}

Semantic roles & 50–950 ramp

primary
#D938AD
secondary
#94D9A7
accent
#EB6C3D
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #D938AD

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

Preview Lab → · Contrast checker → · Palette generator →

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