#D5398B#D5398B

#D5398B is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.1% C 0.205 H 353.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#D5398B
RGBrgb(213, 57, 139)
HSLhsl(328, 65%, 53%)
HSVhsv(328, 73%, 84%)
CMYKcmyk(0%, 73.2%, 34.7%, 16.5%)
CIE-LABlab(50.62, 66.27, -9.71)
CIE-LCHlch(50.62, 66.98, 351.66°)
OKLaboklab(60.13% 0.2031 -0.0249)
OKLCHoklch(60.13% 0.205 353)
XYZxyz(33.5659, 18.9405, 26.3094)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5398B #39D583
analogous
#D139D5 #D5398B #D5393D
triadic
#D5398B #8BD539 #398BD5
tetradic
#D5398B #D5D139 #39D583 #393DD5
square
#D5398B #D5D139 #39D583 #393DD5
split-complementary
#D5398B #3DD539 #39D5D1
monochromatic
#7A1A4C #AC256C #D5398B #E06BA9 #EA9EC6

Accessibility & contrast

On white

4.39
#D5398B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#D5398B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5398B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5398B#FFFFFF#000000##000000
##D5398B1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#55668D
Deuteranopia (green-blind)
#818387
Tritanopia (blue-blind)
#E52B5D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d5398b;
/* rgb */ color: rgb(213, 57, 139);
/* oklch */ color: oklch(60.1% 0.205 353.0);
Tailwind
colors: {
  custom: {
    50: '#e77dac',
    500: '#d5398b',
    950: '#000000',
  },
}
SCSS
$custom: #d5398b;
$custom-light: #e77dac;
$custom-dark: #000000;
JSON
{
  "hex": "#d5398b",
  "rgb": {
    "r": 213,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 328.462,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6013,
    "c": 0.20465,
    "h": 353
  },
  "luminance": 0.18936
}

Semantic roles & 50–950 ramp

primary
#D5398B
secondary
#93D7B3
accent
#E89040
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D5398B

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

Preview Lab → · Contrast checker → · Palette generator →

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