#D397BC#D397BC

#D397BC is a light, moderate pink. Relative luminance 0.396; OKLCH L 74.5% C 0.086 H 341.9°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#D397BC
RGBrgb(211, 151, 188)
HSLhsl(323, 41%, 71%)
HSVhsv(323, 28%, 83%)
CMYKcmyk(0%, 28.4%, 10.9%, 17.3%)
CIE-LABlab(69.19, 28.19, -10.18)
CIE-LCHlch(69.19, 29.97, 340.15°)
OKLaboklab(74.54% 0.0821 -0.0269)
OKLCHoklch(74.54% 0.086 341.9)
XYZxyz(47.0075, 39.6150, 52.7375)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397BC #97D3AE
analogous
#CC97D3 #D397BC #D3979E
triadic
#D397BC #BCD397 #97BCD3
tetradic
#D397BC #D3CC97 #97D3AE #979ED3
square
#D397BC #D3CC97 #97D3AE #979ED3
split-complementary
#D397BC #9ED397 #97D3CC
monochromatic
#A84783 #C16CA0 #D397BC #E5C2D8 #F6E9F1

Accessibility & contrast

On white

2.35
#D397BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#D397BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397BC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397BC#FFFFFF#000000##000000
##D397BC1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA3BD
Deuteranopia (green-blind)
#A8ACBA
Tritanopia (blue-blind)
#DA97A4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d397bc;
/* rgb */ color: rgb(211, 151, 188);
/* oklch */ color: oklch(74.5% 0.086 341.9);
Tailwind
colors: {
  custom: {
    50: '#e1b6d0',
    500: '#d397bc',
    950: '#000000',
  },
}
SCSS
$custom: #d397bc;
$custom-light: #e1b6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d397bc",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 188
  },
  "hsl": {
    "h": 323,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74541,
    "c": 0.0864,
    "h": 341.9
  },
  "luminance": 0.39613
}

Semantic roles & 50–950 ramp

primary
#D397BC
secondary
#DBEBE1
accent
#B46432
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #D397BC

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

Preview Lab → · Contrast checker → · Palette generator →

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