#D97EBD#D97EBD

#D97EBD is a light, vivid pink. Relative luminance 0.333; OKLCH L 71.1% C 0.136 H 339.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D97EBD
RGBrgb(217, 126, 189)
HSLhsl(318, 54%, 67%)
HSVhsv(318, 42%, 85%)
CMYKcmyk(0%, 41.9%, 12.9%, 14.9%)
CIE-LABlab(64.44, 43.71, -17.82)
CIE-LCHlch(64.44, 47.21, 337.82°)
OKLaboklab(71.09% 0.1278 -0.0476)
OKLCHoklch(71.09% 0.136 339.6)
XYZxyz(45.2617, 33.3503, 52.1875)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EBD #7ED99A
analogous
#C87ED9 #D97EBD #D97E8F
triadic
#D97EBD #BDD97E #7EBDD9
tetradic
#D97EBD #D9C87E #7ED99A #7E8FD9
square
#D97EBD #D9C87E #7ED99A #7E8FD9
split-complementary
#D97EBD #8FD97E #7ED9C8
monochromatic
#AA3285 #CB4FA5 #D97EBD #E7ADD5 #F5DDED

Accessibility & contrast

On white

2.74
#D97EBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D97EBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EBD
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EBD#FFFFFF#000000##000000
##D97EBD1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8194BF
Deuteranopia (green-blind)
#99A1BA
Tritanopia (blue-blind)
#E28095
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97ebd;
/* rgb */ color: rgb(217, 126, 189);
/* oklch */ color: oklch(71.1% 0.136 339.6);
Tailwind
colors: {
  custom: {
    50: '#e6a5d1',
    500: '#d97ebd',
    950: '#000000',
  },
}
SCSS
$custom: #d97ebd;
$custom-light: #e6a5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ebd",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 189
  },
  "hsl": {
    "h": 318.462,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71093,
    "c": 0.13638,
    "h": 339.6
  },
  "luminance": 0.33348
}

Semantic roles & 50–950 ramp

primary
#D97EBD
secondary
#CBE8D4
accent
#C25424
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D97EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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