#D9398E#D9398E

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

Color values

HEX#D9398E
RGBrgb(217, 57, 142)
HSLhsl(328, 68%, 54%)
HSVhsv(328, 74%, 85%)
CMYKcmyk(0%, 73.7%, 34.6%, 14.9%)
CIE-LABlab(51.42, 67.64, -10.23)
CIE-LCHlch(51.42, 68.41, 351.40°)
OKLaboklab(60.88% 0.2074 -0.0263)
OKLCHoklch(60.88% 0.209 352.8)
XYZxyz(34.9630, 19.6351, 27.5347)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9398E #39D984
analogous
#D439D9 #D9398E #D9393E
triadic
#D9398E #8ED939 #398ED9
tetradic
#D9398E #D9D439 #39D984 #393ED9
square
#D9398E #D9D439 #39D984 #393ED9
split-complementary
#D9398E #3ED939 #39D9D4
monochromatic
#7F184F #B3226F #D9398E #E36CAB #EDA0C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9398E#FFFFFF#000000##000000
##D9398E1.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)
#566890
Deuteranopia (green-blind)
#83858A
Tritanopia (blue-blind)
#EA2A5F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d9398e;
/* rgb */ color: rgb(217, 57, 142);
/* oklch */ color: oklch(60.9% 0.209 352.8);
Tailwind
colors: {
  custom: {
    50: '#ea7daf',
    500: '#d9398e',
    950: '#000000',
  },
}
SCSS
$custom: #d9398e;
$custom-light: #ea7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#d9398e",
  "rgb": {
    "r": 217,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 328.125,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60882,
    "c": 0.20901,
    "h": 352.8
  },
  "luminance": 0.19631
}

Semantic roles & 50–950 ramp

primary
#D9398E
secondary
#95D9B5
accent
#EB8E3D
background
#FFF8FA
surface
#FEEFF4
border
#D6CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D9398E

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

Preview Lab → · Contrast checker → · Palette generator →

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