#D9398F#D9398F

#D9398F is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 60.9% C 0.209 H 352.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D9398F
RGBrgb(217, 57, 143)
HSLhsl(328, 68%, 54%)
HSVhsv(328, 74%, 85%)
CMYKcmyk(0%, 73.7%, 34.1%, 14.9%)
CIE-LABlab(51.46, 67.75, -10.78)
CIE-LCHlch(51.46, 68.60, 350.96°)
OKLaboklab(60.92% 0.2076 -0.0277)
OKLCHoklch(60.92% 0.209 352.4)
XYZxyz(35.0384, 19.6653, 27.9319)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9398F #39D983
analogous
#D339D9 #D9398F #D9393F
triadic
#D9398F #8FD939 #398FD9
tetradic
#D9398F #D9D339 #39D983 #393FD9
square
#D9398F #D9D339 #39D983 #393FD9
split-complementary
#D9398F #3FD939 #39D9D3
monochromatic
#7F1850 #B32270 #D9398F #E36CAC #EDA0C9

Accessibility & contrast

On white

4.26
#D9398F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#D9398F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9398F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9398F#FFFFFF#000000##000000
##D9398F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#566891
Deuteranopia (green-blind)
#83858B
Tritanopia (blue-blind)
#EA2B5F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d9398f;
/* rgb */ color: rgb(217, 57, 143);
/* oklch */ color: oklch(60.9% 0.209 352.4);
Tailwind
colors: {
  custom: {
    50: '#ea7daf',
    500: '#d9398f',
    950: '#000000',
  },
}
SCSS
$custom: #d9398f;
$custom-light: #ea7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#d9398f",
  "rgb": {
    "r": 217,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 327.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60919,
    "c": 0.20946,
    "h": 352.4
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#D9398F
secondary
#95D9B4
accent
#EB8D3D
background
#FFF8FA
surface
#FEEFF4
border
#D6CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D9398F

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

Preview Lab → · Contrast checker → · Palette generator →

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