#D1397E#D1397E

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

Color values

HEX#D1397E
RGBrgb(209, 57, 126)
HSLhsl(333, 62%, 52%)
HSVhsv(333, 73%, 82%)
CMYKcmyk(0%, 72.7%, 39.7%, 18%)
CIE-LABlab(49.49, 63.84, -3.64)
CIE-LCHlch(49.49, 63.94, 356.74°)
OKLaboklab(59.03% 0.196 -0.0088)
OKLCHoklch(59.03% 0.196 357.4)
XYZxyz(31.5257, 17.9919, 21.5472)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1397E #39D18C
analogous
#D139CA #D1397E #D14039
triadic
#D1397E #7ED139 #397ED1
tetradic
#D1397E #CAD139 #39D18C #4039D1
square
#D1397E #CAD139 #39D18C #4039D1
split-complementary
#D1397E #39D140 #39CAD1
monochromatic
#751B44 #A62761 #D1397E #DD6B9E #E89CBF

Accessibility & contrast

On white

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

On black

4.60
#D1397E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1397E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1397E#FFFFFF#000000##000000
##D1397E1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#586380
Deuteranopia (green-blind)
#82807B
Tritanopia (blue-blind)
#E22557
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d1397e;
/* rgb */ color: rgb(209, 57, 126);
/* oklch */ color: oklch(59.0% 0.196 357.4);
Tailwind
colors: {
  custom: {
    50: '#e47ca3',
    500: '#d1397e',
    950: '#000000',
  },
}
SCSS
$custom: #d1397e;
$custom-light: #e47ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#d1397e",
  "rgb": {
    "r": 209,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 332.763,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5903,
    "c": 0.19615,
    "h": 357.4
  },
  "luminance": 0.17988
}

Semantic roles & 50–950 ramp

primary
#D1397E
secondary
#92D4B6
accent
#E59B42
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D1397E

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

Preview Lab → · Contrast checker → · Palette generator →

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