#D938BC#D938BC

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

Color values

HEX#D938BC
RGBrgb(217, 56, 188)
HSLhsl(311, 68%, 54%)
HSVhsv(311, 74%, 85%)
CMYKcmyk(0%, 74.2%, 13.4%, 14.9%)
CIE-LABlab(53.18, 73.68, -34.61)
CIE-LCHlch(53.18, 81.40, 334.84°)
OKLaboklab(62.77% 0.2166 -0.0943)
OKLCHoklch(62.77% 0.236 336.5)
XYZxyz(39.1072, 21.2145, 49.6024)
Luminance0.2121 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938BC #38D955
analogous
#A538D9 #D938BC #D9386C
triadic
#D938BC #BCD938 #38BCD9
tetradic
#D938BC #D9A538 #38D955 #386CD9
square
#D938BC #D9A538 #38D955 #386CD9
split-complementary
#D938BC #6CD938 #38D9A5
monochromatic
#7E186C #B22298 #D938BC #E36BCD #ED9FDF

Accessibility & contrast

On white

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

On black

5.24
#D938BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938BC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938BC#FFFFFF#000000##000000
##D938BC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FC0
Deuteranopia (green-blind)
#7488B8
Tritanopia (blue-blind)
#E44377
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d938bc;
/* rgb */ color: rgb(217, 56, 188);
/* oklch */ color: oklch(62.8% 0.236 336.5);
Tailwind
colors: {
  custom: {
    50: '#e97fd0',
    500: '#d938bc',
    950: '#000000',
  },
}
SCSS
$custom: #d938bc;
$custom-light: #e97fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d938bc",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 310.807,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62772,
    "c": 0.23622,
    "h": 336.5
  },
  "luminance": 0.21211
}

Semantic roles & 50–950 ramp

primary
#D938BC
secondary
#94D9A0
accent
#EB5C3D
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#170B14
muted
#857C82

Preview Lab

Preview with #D938BC

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

Preview Lab → · Contrast checker → · Palette generator →

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