#D938B8#D938B8

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

Color values

HEX#D938B8
RGBrgb(217, 56, 184)
HSLhsl(312, 68%, 54%)
HSVhsv(312, 74%, 85%)
CMYKcmyk(0%, 74.2%, 15.2%, 14.9%)
CIE-LABlab(53.00, 73.13, -32.58)
CIE-LCHlch(53.00, 80.06, 335.99°)
OKLaboklab(62.58% 0.2162 -0.0885)
OKLCHoklch(62.58% 0.234 337.7)
XYZxyz(38.6820, 21.0444, 47.3629)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938B8 #38D959
analogous
#A938D9 #D938B8 #D93867
triadic
#D938B8 #B8D938 #38B8D9
tetradic
#D938B8 #D9A938 #38D959 #3867D9
square
#D938B8 #D9A938 #38D959 #3867D9
split-complementary
#D938B8 #67D938 #38D9A9
monochromatic
#7E1869 #B22294 #D938B8 #E36BCA #ED9FDD

Accessibility & contrast

On white

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

On black

5.21
#D938B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938B8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938B8#FFFFFF#000000##000000
##D938B81.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6FBB
Deuteranopia (green-blind)
#7687B4
Tritanopia (blue-blind)
#E54175
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d938b8;
/* rgb */ color: rgb(217, 56, 184);
/* oklch */ color: oklch(62.6% 0.234 337.7);
Tailwind
colors: {
  custom: {
    50: '#e97ecd',
    500: '#d938b8',
    950: '#000000',
  },
}
SCSS
$custom: #d938b8;
$custom-light: #e97ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#d938b8",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 312.298,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62578,
    "c": 0.2336,
    "h": 337.7
  },
  "luminance": 0.21041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D938B8

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

Preview Lab → · Contrast checker → · Palette generator →

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