#D5398D#D5398D

#D5398D is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.2% C 0.206 H 352.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#D5398D
RGBrgb(213, 57, 141)
HSLhsl(328, 65%, 53%)
HSVhsv(328, 73%, 84%)
CMYKcmyk(0%, 73.2%, 33.8%, 16.5%)
CIE-LABlab(50.69, 66.49, -10.81)
CIE-LCHlch(50.69, 67.37, 350.77°)
OKLaboklab(60.2% 0.2037 -0.0279)
OKLCHoklch(60.2% 0.206 352.2)
XYZxyz(33.7134, 18.9995, 27.0860)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5398D #39D581
analogous
#CF39D5 #D5398D #D5393F
triadic
#D5398D #8DD539 #398DD5
tetradic
#D5398D #D5CF39 #39D581 #393FD5
square
#D5398D #D5CF39 #39D581 #393FD5
split-complementary
#D5398D #3FD539 #39D5CF
monochromatic
#7A1A4D #AC256E #D5398D #E06BAA #EA9EC7

Accessibility & contrast

On white

4.38
#D5398D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#D5398D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5398D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5398D#FFFFFF#000000##000000
##D5398D1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#55678F
Deuteranopia (green-blind)
#818389
Tritanopia (blue-blind)
#E52C5E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d5398d;
/* rgb */ color: rgb(213, 57, 141);
/* oklch */ color: oklch(60.2% 0.206 352.2);
Tailwind
colors: {
  custom: {
    50: '#e77dae',
    500: '#d5398d',
    950: '#000000',
  },
}
SCSS
$custom: #d5398d;
$custom-light: #e77dae;
$custom-dark: #000000;
JSON
{
  "hex": "#d5398d",
  "rgb": {
    "r": 213,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 327.692,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60203,
    "c": 0.20557,
    "h": 352.2
  },
  "luminance": 0.18995
}

Semantic roles & 50–950 ramp

primary
#D5398D
secondary
#93D7B2
accent
#E88D40
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D5398D

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

Preview Lab → · Contrast checker → · Palette generator →

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