#D97EBB#D97EBB

#D97EBB is a light, vivid pink. Relative luminance 0.333; OKLCH L 71.0% C 0.135 H 340.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#D97EBB
RGBrgb(217, 126, 187)
HSLhsl(320, 54%, 67%)
HSVhsv(320, 42%, 85%)
CMYKcmyk(0%, 41.9%, 13.8%, 14.9%)
CIE-LABlab(64.37, 43.39, -16.80)
CIE-LCHlch(64.37, 46.53, 338.84°)
OKLaboklab(71.02% 0.1273 -0.0448)
OKLCHoklch(71.02% 0.135 340.6)
XYZxyz(45.0461, 33.2641, 51.0521)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EBB #7ED99C
analogous
#C97ED9 #D97EBB #D97E8E
triadic
#D97EBB #BBD97E #7EBBD9
tetradic
#D97EBB #D9C97E #7ED99C #7E8ED9
square
#D97EBB #D9C97E #7ED99C #7E8ED9
split-complementary
#D97EBB #8ED97E #7ED9C9
monochromatic
#AA3283 #CB4FA2 #D97EBB #E7ADD4 #F5DDED

Accessibility & contrast

On white

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

On black

7.65
#D97EBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EBB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EBB#FFFFFF#000000##000000
##D97EBB1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8293BD
Deuteranopia (green-blind)
#9AA1B8
Tritanopia (blue-blind)
#E37F95
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97ebb;
/* rgb */ color: rgb(217, 126, 187);
/* oklch */ color: oklch(71.0% 0.135 340.6);
Tailwind
colors: {
  custom: {
    50: '#e6a5cf',
    500: '#d97ebb',
    950: '#000000',
  },
}
SCSS
$custom: #d97ebb;
$custom-light: #e6a5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ebb",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 187
  },
  "hsl": {
    "h": 319.78,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71018,
    "c": 0.13489,
    "h": 340.6
  },
  "luminance": 0.33261
}

Semantic roles & 50–950 ramp

primary
#D97EBB
secondary
#CBE8D5
accent
#C25824
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F13
muted
#847F82

Preview Lab

Preview with #D97EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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