#D938B7#D938B7

#D938B7 is a light, highly saturated pink. Relative luminance 0.210; OKLCH L 62.5% C 0.233 H 338.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#D938B7
RGBrgb(217, 56, 183)
HSLhsl(313, 68%, 54%)
HSVhsv(313, 74%, 85%)
CMYKcmyk(0%, 74.2%, 15.7%, 14.9%)
CIE-LABlab(52.95, 72.99, -32.07)
CIE-LCHlch(52.95, 79.72, 336.28°)
OKLaboklab(62.53% 0.2161 -0.087)
OKLCHoklch(62.53% 0.233 338.1)
XYZxyz(38.5775, 21.0026, 46.8128)
Luminance0.2100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938B7 #38D95A
analogous
#AA38D9 #D938B7 #D93866
triadic
#D938B7 #B7D938 #38B7D9
tetradic
#D938B7 #D9AA38 #38D95A #3866D9
square
#D938B7 #D9AA38 #38D95A #3866D9
split-complementary
#D938B7 #66D938 #38D9AA
monochromatic
#7E1869 #B22293 #D938B7 #E36BCA #ED9FDC

Accessibility & contrast

On white

4.04
#D938B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#D938B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938B7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938B7#FFFFFF#000000##000000
##D938B71.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6FBA
Deuteranopia (green-blind)
#7687B3
Tritanopia (blue-blind)
#E54174
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d938b7;
/* rgb */ color: rgb(217, 56, 183);
/* oklch */ color: oklch(62.5% 0.233 338.1);
Tailwind
colors: {
  custom: {
    50: '#e97ecd',
    500: '#d938b7',
    950: '#000000',
  },
}
SCSS
$custom: #d938b7;
$custom-light: #e97ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#d938b7",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 312.671,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6253,
    "c": 0.23295,
    "h": 338.1
  },
  "luminance": 0.20999
}

Semantic roles & 50–950 ramp

primary
#D938B7
secondary
#94D9A2
accent
#EB623D
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#170B13
muted
#857C82

Preview Lab

Preview with #D938B7

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

Preview Lab → · Contrast checker → · Palette generator →

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