#D97EB2#D97EB2

#D97EB2 is a light, vivid pink. Relative luminance 0.329; OKLCH L 70.7% C 0.129 H 345.6°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D97EB2
RGBrgb(217, 126, 178)
HSLhsl(326, 54%, 67%)
HSVhsv(326, 42%, 85%)
CMYKcmyk(0%, 41.9%, 18%, 14.9%)
CIE-LABlab(64.07, 41.98, -12.16)
CIE-LCHlch(64.07, 43.71, 343.84°)
OKLaboklab(70.69% 0.1246 -0.032)
OKLCHoklch(70.69% 0.129 345.6)
XYZxyz(44.1126, 32.8907, 46.1360)
Luminance0.3289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EB2 #7ED9A5
analogous
#D27ED9 #D97EB2 #D97E85
triadic
#D97EB2 #B2D97E #7EB2D9
tetradic
#D97EB2 #D9D27E #7ED9A5 #7E85D9
square
#D97EB2 #D9D27E #7ED9A5 #7E85D9
split-complementary
#D97EB2 #85D97E #7ED9D2
monochromatic
#AA3277 #CB4F96 #D97EB2 #E7ADCE #F5DDEA

Accessibility & contrast

On white

2.77
#D97EB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D97EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EB2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EB2#FFFFFF#000000##000000
##D97EB21.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8592B4
Deuteranopia (green-blind)
#9CA1B0
Tritanopia (blue-blind)
#E47D91
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d97eb2;
/* rgb */ color: rgb(217, 126, 178);
/* oklch */ color: oklch(70.7% 0.129 345.6);
Tailwind
colors: {
  custom: {
    50: '#e6a5c9',
    500: '#d97eb2',
    950: '#000000',
  },
}
SCSS
$custom: #d97eb2;
$custom-light: #e6a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d97eb2",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 325.714,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70691,
    "c": 0.12865,
    "h": 345.6
  },
  "luminance": 0.32888
}

Semantic roles & 50–950 ramp

primary
#D97EB2
secondary
#CBE8D7
accent
#C26724
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #D97EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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