#D97EBF#D97EBF

#D97EBF is a light, vivid pink. Relative luminance 0.334; OKLCH L 71.2% C 0.138 H 338.6°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#D97EBF
RGBrgb(217, 126, 191)
HSLhsl(317, 54%, 67%)
HSVhsv(317, 42%, 85%)
CMYKcmyk(0%, 41.9%, 12%, 14.9%)
CIE-LABlab(64.51, 44.04, -18.84)
CIE-LCHlch(64.51, 47.90, 336.83°)
OKLaboklab(71.17% 0.1284 -0.0504)
OKLCHoklch(71.17% 0.138 338.6)
XYZxyz(45.4803, 33.4378, 53.3387)
Luminance0.3343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EBF #7ED998
analogous
#C67ED9 #D97EBF #D97E92
triadic
#D97EBF #BFD97E #7EBFD9
tetradic
#D97EBF #D9C67E #7ED998 #7E92D9
square
#D97EBF #D9C67E #7ED998 #7E92D9
split-complementary
#D97EBF #92D97E #7ED9C6
monochromatic
#AA3288 #CB4FA8 #D97EBF #E7ADD6 #F5DDEE

Accessibility & contrast

On white

2.73
#D97EBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#D97EBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EBF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EBF#FFFFFF#000000##000000
##D97EBF1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8194C1
Deuteranopia (green-blind)
#98A2BC
Tritanopia (blue-blind)
#E28096
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97ebf;
/* rgb */ color: rgb(217, 126, 191);
/* oklch */ color: oklch(71.2% 0.138 338.6);
Tailwind
colors: {
  custom: {
    50: '#e6a5d2',
    500: '#d97ebf',
    950: '#000000',
  },
}
SCSS
$custom: #d97ebf;
$custom-light: #e6a5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ebf",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 191
  },
  "hsl": {
    "h": 317.143,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71169,
    "c": 0.13792,
    "h": 338.6
  },
  "luminance": 0.33435
}

Semantic roles & 50–950 ramp

primary
#D97EBF
secondary
#CBE8D3
accent
#C25124
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D97EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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