#D938BB#D938BB

#D938BB is a light, highly saturated pink. Relative luminance 0.212; OKLCH L 62.7% C 0.236 H 336.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#D938BB
RGBrgb(217, 56, 187)
HSLhsl(311, 68%, 54%)
HSVhsv(311, 74%, 85%)
CMYKcmyk(0%, 74.2%, 13.8%, 14.9%)
CIE-LABlab(53.14, 73.54, -34.10)
CIE-LCHlch(53.14, 81.06, 335.12°)
OKLaboklab(62.72% 0.2165 -0.0928)
OKLCHoklch(62.72% 0.236 336.8)
XYZxyz(38.9998, 21.1715, 49.0366)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938BB #38D956
analogous
#A638D9 #D938BB #D9386A
triadic
#D938BB #BBD938 #38BBD9
tetradic
#D938BB #D9A638 #38D956 #386AD9
square
#D938BB #D9A638 #38D956 #386AD9
split-complementary
#D938BB #6AD938 #38D9A6
monochromatic
#7E186B #B22297 #D938BB #E36BCD #ED9FDE

Accessibility & contrast

On white

4.01
#D938BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#D938BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938BB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938BB#FFFFFF#000000##000000
##D938BB1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBF
Deuteranopia (green-blind)
#7488B7
Tritanopia (blue-blind)
#E44376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d938bb;
/* rgb */ color: rgb(217, 56, 187);
/* oklch */ color: oklch(62.7% 0.236 336.8);
Tailwind
colors: {
  custom: {
    50: '#e97ed0',
    500: '#d938bb',
    950: '#000000',
  },
}
SCSS
$custom: #d938bb;
$custom-light: #e97ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#d938bb",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 311.18,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62723,
    "c": 0.23556,
    "h": 336.8
  },
  "luminance": 0.21168
}

Semantic roles & 50–950 ramp

primary
#D938BB
secondary
#94D9A1
accent
#EB5D3D
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#170B14
muted
#857C82

Preview Lab

Preview with #D938BB

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

Preview Lab → · Contrast checker → · Palette generator →

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