#D5398C#D5398C

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

Color values

HEX#D5398C
RGBrgb(213, 57, 140)
HSLhsl(328, 65%, 53%)
HSVhsv(328, 73%, 84%)
CMYKcmyk(0%, 73.2%, 34.3%, 16.5%)
CIE-LABlab(50.65, 66.38, -10.26)
CIE-LCHlch(50.65, 67.17, 351.21°)
OKLaboklab(60.17% 0.2034 -0.0264)
OKLCHoklch(60.17% 0.205 352.6)
XYZxyz(33.6393, 18.9698, 26.6959)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5398C #39D582
analogous
#D039D5 #D5398C #D5393E
triadic
#D5398C #8CD539 #398CD5
tetradic
#D5398C #D5D039 #39D582 #393ED5
square
#D5398C #D5D039 #39D582 #393ED5
split-complementary
#D5398C #3ED539 #39D5D0
monochromatic
#7A1A4D #AC256D #D5398C #E06BA9 #EA9EC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5398C#FFFFFF#000000##000000
##D5398C1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#55678E
Deuteranopia (green-blind)
#818388
Tritanopia (blue-blind)
#E52B5E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d5398c;
/* rgb */ color: rgb(213, 57, 140);
/* oklch */ color: oklch(60.2% 0.205 352.6);
Tailwind
colors: {
  custom: {
    50: '#e77dad',
    500: '#d5398c',
    950: '#000000',
  },
}
SCSS
$custom: #d5398c;
$custom-light: #e77dad;
$custom-dark: #000000;
JSON
{
  "hex": "#d5398c",
  "rgb": {
    "r": 213,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 328.077,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60167,
    "c": 0.2051,
    "h": 352.6
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5398C

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

Preview Lab → · Contrast checker → · Palette generator →

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