#D397AB#D397AB

#D397AB is a light, moderate pink. Relative luminance 0.389; OKLCH L 74.0% C 0.076 H 357.4°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#D397AB
RGBrgb(211, 151, 171)
HSLhsl(340, 41%, 71%)
HSVhsv(340, 28%, 83%)
CMYKcmyk(0%, 28.4%, 19%, 17.3%)
CIE-LABlab(68.70, 25.44, -1.44)
CIE-LCHlch(68.70, 25.48, 356.76°)
OKLaboklab(74% 0.0762 -0.0034)
OKLCHoklch(74% 0.076 357.4)
XYZxyz(45.2817, 38.9246, 43.6482)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397AB #97D3BF
analogous
#D397C9 #D397AB #D3A197
triadic
#D397AB #ABD397 #97ABD3
tetradic
#D397AB #C9D397 #97D3BF #A197D3
square
#D397AB #C9D397 #97D3BF #A197D3
split-complementary
#D397AB #97D3A1 #97C9D3
monochromatic
#A84768 #C16C88 #D397AB #E5C2CE #F6E9EE

Accessibility & contrast

On white

2.39
#D397AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#D397AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397AB
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397AB#FFFFFF#000000##000000
##D397AB1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA1AC
Deuteranopia (green-blind)
#ACABAA
Tritanopia (blue-blind)
#DD949E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d397ab;
/* rgb */ color: rgb(211, 151, 171);
/* oklch */ color: oklch(74.0% 0.076 357.4);
Tailwind
colors: {
  custom: {
    50: '#e1b6c4',
    500: '#d397ab',
    950: '#000000',
  },
}
SCSS
$custom: #d397ab;
$custom-light: #e1b6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d397ab",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 171
  },
  "hsl": {
    "h": 340,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73995,
    "c": 0.07625,
    "h": 357.4
  },
  "luminance": 0.38922
}

Semantic roles & 50–950 ramp

primary
#D397AB
secondary
#DBEBE6
accent
#B48832
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151112
muted
#838081

Preview Lab

Preview with #D397AB

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

Preview Lab → · Contrast checker → · Palette generator →

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