#D1397A#D1397A

#D1397A is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.9% C 0.195 H 359.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#D1397A
RGBrgb(209, 57, 122)
HSLhsl(334, 62%, 52%)
HSVhsv(334, 73%, 82%)
CMYKcmyk(0%, 72.7%, 41.6%, 18%)
CIE-LABlab(49.36, 63.44, -1.40)
CIE-LCHlch(49.36, 63.46, 358.74°)
OKLaboklab(58.9% 0.1947 -0.0029)
OKLCHoklch(58.9% 0.195 359.1)
XYZxyz(31.2728, 17.8907, 20.2150)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1397A #39D190
analogous
#D139C6 #D1397A #D14439
triadic
#D1397A #7AD139 #397AD1
tetradic
#D1397A #C6D139 #39D190 #4439D1
square
#D1397A #C6D139 #39D190 #4439D1
split-complementary
#D1397A #39D144 #39C6D1
monochromatic
#751B41 #A6275D #D1397A #DD6B9B #E89CBD

Accessibility & contrast

On white

4.59
#D1397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#D1397A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D1397A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1397A#FFFFFF#000000##FFFFFF
##D1397A1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59637C
Deuteranopia (green-blind)
#828076
Tritanopia (blue-blind)
#E22355
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d1397a;
/* rgb */ color: rgb(209, 57, 122);
/* oklch */ color: oklch(58.9% 0.195 359.1);
Tailwind
colors: {
  custom: {
    50: '#e47ca0',
    500: '#d1397a',
    950: '#000000',
  },
}
SCSS
$custom: #d1397a;
$custom-light: #e47ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#d1397a",
  "rgb": {
    "r": 209,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 334.342,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.589,
    "c": 0.19471,
    "h": 359.1
  },
  "luminance": 0.17887
}

Semantic roles & 50–950 ramp

primary
#D1397A
secondary
#92D4B8
accent
#E5A042
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D1397A

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

Preview Lab → · Contrast checker → · Palette generator →

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