#D1397C#D1397C

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

Color values

HEX#D1397C
RGBrgb(209, 57, 124)
HSLhsl(334, 62%, 52%)
HSVhsv(334, 73%, 82%)
CMYKcmyk(0%, 72.7%, 40.7%, 18%)
CIE-LABlab(49.42, 63.64, -2.52)
CIE-LCHlch(49.42, 63.69, 357.73°)
OKLaboklab(58.96% 0.1953 -0.0058)
OKLCHoklch(58.96% 0.195 358.3)
XYZxyz(31.3980, 17.9407, 20.8744)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1397C #39D18E
analogous
#D139C8 #D1397C #D14239
triadic
#D1397C #7CD139 #397CD1
tetradic
#D1397C #C8D139 #39D18E #4239D1
square
#D1397C #C8D139 #39D18E #4239D1
split-complementary
#D1397C #39D142 #39C8D1
monochromatic
#751B43 #A6275F #D1397C #DD6B9D #E89CBE

Accessibility & contrast

On white

4.58
#D1397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#D1397C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1397C
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1397C#FFFFFF#000000##000000
##D1397C1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#59637E
Deuteranopia (green-blind)
#828078
Tritanopia (blue-blind)
#E22456
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d1397c;
/* rgb */ color: rgb(209, 57, 124);
/* oklch */ color: oklch(59.0% 0.195 358.3);
Tailwind
colors: {
  custom: {
    50: '#e47ca1',
    500: '#d1397c',
    950: '#000000',
  },
}
SCSS
$custom: #d1397c;
$custom-light: #e47ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#d1397c",
  "rgb": {
    "r": 209,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 333.553,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.19542,
    "h": 358.3
  },
  "luminance": 0.17937
}

Semantic roles & 50–950 ramp

primary
#D1397C
secondary
#92D4B7
accent
#E59E42
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D1397C

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

Preview Lab → · Contrast checker → · Palette generator →

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