#D938AC#D938AC

#D938AC is a light, highly saturated pink. Relative luminance 0.206; OKLCH L 62.0% C 0.226 H 341.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#D938AC
RGBrgb(217, 56, 172)
HSLhsl(317, 68%, 54%)
HSVhsv(317, 74%, 85%)
CMYKcmyk(0%, 74.2%, 20.7%, 14.9%)
CIE-LABlab(52.47, 71.53, -26.40)
CIE-LCHlch(52.47, 76.24, 339.74°)
OKLaboklab(62.02% 0.2146 -0.071)
OKLCHoklch(62.02% 0.226 341.7)
XYZxyz(37.4771, 20.5625, 41.0170)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938AC #38D965
analogous
#B538D9 #D938AC #D9385B
triadic
#D938AC #ACD938 #38ACD9
tetradic
#D938AC #D9B538 #38D965 #385BD9
square
#D938AC #D9B538 #38D965 #385BD9
split-complementary
#D938AC #5BD938 #38D9B5
monochromatic
#7E1862 #B2228A #D938AC #E36BC1 #ED9FD7

Accessibility & contrast

On white

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

On black

5.11
#D938AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938AC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938AC#FFFFFF#000000##000000
##D938AC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#476DAF
Deuteranopia (green-blind)
#7A87A8
Tritanopia (blue-blind)
#E63B6E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d938ac;
/* rgb */ color: rgb(217, 56, 172);
/* oklch */ color: oklch(62.0% 0.226 341.7);
Tailwind
colors: {
  custom: {
    50: '#e97ec5',
    500: '#d938ac',
    950: '#000000',
  },
}
SCSS
$custom: #d938ac;
$custom-light: #e97ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#d938ac",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 316.77,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62021,
    "c": 0.22607,
    "h": 341.7
  },
  "luminance": 0.20559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D938AC

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

Preview Lab → · Contrast checker → · Palette generator →

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