#D9398B#D9398B

#D9398B is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.8% C 0.208 H 354.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D9398B
RGBrgb(217, 57, 139)
HSLhsl(329, 68%, 54%)
HSVhsv(329, 74%, 85%)
CMYKcmyk(0%, 73.7%, 35.9%, 14.9%)
CIE-LABlab(51.32, 67.32, -8.59)
CIE-LCHlch(51.32, 67.87, 352.73°)
OKLaboklab(60.78% 0.2065 -0.0219)
OKLCHoklch(60.78% 0.208 354)
XYZxyz(34.7408, 19.5463, 26.3644)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9398B #39D987
analogous
#D739D9 #D9398B #D9393B
triadic
#D9398B #8BD939 #398BD9
tetradic
#D9398B #D9D739 #39D987 #393BD9
square
#D9398B #D9D739 #39D987 #393BD9
split-complementary
#D9398B #3BD939 #39D9D7
monochromatic
#7F184D #B3226C #D9398B #E36CA9 #EDA0C7

Accessibility & contrast

On white

4.28
#D9398B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#D9398B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9398B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9398B#FFFFFF#000000##000000
##D9398B1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#57688D
Deuteranopia (green-blind)
#848587
Tritanopia (blue-blind)
#EA295D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d9398b;
/* rgb */ color: rgb(217, 57, 139);
/* oklch */ color: oklch(60.8% 0.208 354.0);
Tailwind
colors: {
  custom: {
    50: '#ea7dac',
    500: '#d9398b',
    950: '#000000',
  },
}
SCSS
$custom: #d9398b;
$custom-light: #ea7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#d9398b",
  "rgb": {
    "r": 217,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 329.25,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.20768,
    "h": 354
  },
  "luminance": 0.19542
}

Semantic roles & 50–950 ramp

primary
#D9398B
secondary
#95D9B6
accent
#EB923D
background
#FFF8FA
surface
#FEEFF4
border
#D6CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D9398B

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

Preview Lab → · Contrast checker → · Palette generator →

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