#D1397D#D1397D

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

Color values

HEX#D1397D
RGBrgb(209, 57, 125)
HSLhsl(333, 62%, 52%)
HSVhsv(333, 73%, 82%)
CMYKcmyk(0%, 72.7%, 40.2%, 18%)
CIE-LABlab(49.46, 63.74, -3.08)
CIE-LCHlch(49.46, 63.81, 357.23°)
OKLaboklab(59% 0.1956 -0.0073)
OKLCHoklch(59% 0.196 357.9)
XYZxyz(31.4615, 17.9662, 21.2091)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1397D #39D18D
analogous
#D139C9 #D1397D #D14139
triadic
#D1397D #7DD139 #397DD1
tetradic
#D1397D #C9D139 #39D18D #4139D1
square
#D1397D #C9D139 #39D18D #4139D1
split-complementary
#D1397D #39D141 #39C9D1
monochromatic
#751B43 #A62760 #D1397D #DD6B9E #E89CBE

Accessibility & contrast

On white

4.57
#D1397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1397D#FFFFFF#000000##000000
##D1397D1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#58637F
Deuteranopia (green-blind)
#82807A
Tritanopia (blue-blind)
#E22556
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d1397d;
/* rgb */ color: rgb(209, 57, 125);
/* oklch */ color: oklch(59.0% 0.196 357.9);
Tailwind
colors: {
  custom: {
    50: '#e47ca2',
    500: '#d1397d',
    950: '#000000',
  },
}
SCSS
$custom: #d1397d;
$custom-light: #e47ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#d1397d",
  "rgb": {
    "r": 209,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 333.158,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58997,
    "c": 0.19578,
    "h": 357.9
  },
  "luminance": 0.17962
}

Semantic roles & 50–950 ramp

primary
#D1397D
secondary
#92D4B6
accent
#E59C42
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D1397D

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

Preview Lab → · Contrast checker → · Palette generator →

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