#D7397A#D7397A

#D7397A is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.9% C 0.200 H 0.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#D7397A
RGBrgb(215, 57, 122)
HSLhsl(335, 66%, 53%)
HSVhsv(335, 73%, 84%)
CMYKcmyk(0%, 73.5%, 43.3%, 15.7%)
CIE-LABlab(50.43, 65.09, 0.29)
CIE-LCHlch(50.43, 65.09, 0.26°)
OKLaboklab(59.88% 0.1997 0.0015)
OKLCHoklch(59.88% 0.2 0.4)
XYZxyz(33.0028, 18.7827, 20.2961)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7397A #39D796
analogous
#D739C9 #D7397A #D74739
triadic
#D7397A #7AD739 #397AD7
tetradic
#D7397A #C9D739 #39D796 #4739D7
square
#D7397A #C9D739 #39D796 #4739D7
split-complementary
#D7397A #39D747 #39C9D7
monochromatic
#7C1942 #AF235D #D7397A #E16C9C #EC9FBE

Accessibility & contrast

On white

4.42
#D7397A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#D7397A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7397A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7397A#FFFFFF#000000##000000
##D7397A1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C657C
Deuteranopia (green-blind)
#878376
Tritanopia (blue-blind)
#E91F55
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d7397a;
/* rgb */ color: rgb(215, 57, 122);
/* oklch */ color: oklch(59.9% 0.200 0.4);
Tailwind
colors: {
  custom: {
    50: '#e97da0',
    500: '#d7397a',
    950: '#000000',
  },
}
SCSS
$custom: #d7397a;
$custom-light: #e97da0;
$custom-dark: #000000;
JSON
{
  "hex": "#d7397a",
  "rgb": {
    "r": 215,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 335.316,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.19972,
    "h": 0.4
  },
  "luminance": 0.18778
}

Semantic roles & 50–950 ramp

primary
#D7397A
secondary
#94D8BC
accent
#E9A33E
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D7397A

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

Preview Lab → · Contrast checker → · Palette generator →

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