#D5398F#D5398F

#D5398F is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.3% C 0.206 H 351.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D5398F
RGBrgb(213, 57, 143)
HSLhsl(327, 65%, 53%)
HSVhsv(327, 73%, 84%)
CMYKcmyk(0%, 73.2%, 32.9%, 16.5%)
CIE-LABlab(50.76, 66.72, -11.90)
CIE-LCHlch(50.76, 67.77, 349.89°)
OKLaboklab(60.28% 0.2042 -0.0308)
OKLCHoklch(60.28% 0.207 351.4)
XYZxyz(33.8636, 19.0595, 27.8768)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5398F #39D57F
analogous
#CD39D5 #D5398F #D53941
triadic
#D5398F #8FD539 #398FD5
tetradic
#D5398F #D5CD39 #39D57F #3941D5
square
#D5398F #D5CD39 #39D57F #3941D5
split-complementary
#D5398F #41D539 #39D5CD
monochromatic
#7A1A4F #AC256F #D5398F #E06BAC #EA9EC8

Accessibility & contrast

On white

4.36
#D5398F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#D5398F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5398F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5398F#FFFFFF#000000##000000
##D5398F1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#80838B
Tritanopia (blue-blind)
#E52D5F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d5398f;
/* rgb */ color: rgb(213, 57, 143);
/* oklch */ color: oklch(60.3% 0.206 351.4);
Tailwind
colors: {
  custom: {
    50: '#e77daf',
    500: '#d5398f',
    950: '#000000',
  },
}
SCSS
$custom: #d5398f;
$custom-light: #e77daf;
$custom-dark: #000000;
JSON
{
  "hex": "#d5398f",
  "rgb": {
    "r": 213,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 326.923,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60278,
    "c": 0.2065,
    "h": 351.4
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#D5398F
secondary
#93D7B1
accent
#E88B40
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D5398F

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

Preview Lab → · Contrast checker → · Palette generator →

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