#D938B9#D938B9

#D938B9 is a light, highly saturated pink. Relative luminance 0.211; OKLCH L 62.6% C 0.234 H 337.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#D938B9
RGBrgb(217, 56, 185)
HSLhsl(312, 68%, 54%)
HSVhsv(312, 74%, 85%)
CMYKcmyk(0%, 74.2%, 14.7%, 14.9%)
CIE-LABlab(53.04, 73.27, -33.09)
CIE-LCHlch(53.04, 80.39, 335.70°)
OKLaboklab(62.63% 0.2163 -0.0899)
OKLCHoklch(62.63% 0.234 337.4)
XYZxyz(38.7872, 21.0865, 47.9169)
Luminance0.2108 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938B9 #38D958
analogous
#A838D9 #D938B9 #D93869
triadic
#D938B9 #B9D938 #38B9D9
tetradic
#D938B9 #D9A838 #38D958 #3869D9
square
#D938B9 #D9A838 #38D958 #3869D9
split-complementary
#D938B9 #69D938 #38D9A8
monochromatic
#7E186A #B22295 #D938B9 #E36BCB #ED9FDD

Accessibility & contrast

On white

4.03
#D938B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#D938B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938B9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938B9#FFFFFF#000000##000000
##D938B91.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBC
Deuteranopia (green-blind)
#7587B5
Tritanopia (blue-blind)
#E54275
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d938b9;
/* rgb */ color: rgb(217, 56, 185);
/* oklch */ color: oklch(62.6% 0.234 337.4);
Tailwind
colors: {
  custom: {
    50: '#e97ece',
    500: '#d938b9',
    950: '#000000',
  },
}
SCSS
$custom: #d938b9;
$custom-light: #e97ece;
$custom-dark: #000000;
JSON
{
  "hex": "#d938b9",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 311.925,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62626,
    "c": 0.23425,
    "h": 337.4
  },
  "luminance": 0.21083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D938B9

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

Preview Lab → · Contrast checker → · Palette generator →

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