#D97DB2#D97DB2

#D97DB2 is a light, vivid pink. Relative luminance 0.326; OKLCH L 70.5% C 0.130 H 345.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#D97DB2
RGBrgb(217, 125, 178)
HSLhsl(325, 55%, 67%)
HSVhsv(325, 42%, 85%)
CMYKcmyk(0%, 42.4%, 18%, 14.9%)
CIE-LABlab(63.87, 42.50, -12.47)
CIE-LCHlch(63.87, 44.29, 343.64°)
OKLaboklab(70.54% 0.1261 -0.0329)
OKLCHoklch(70.54% 0.13 345.4)
XYZxyz(43.9854, 32.6363, 46.0936)
Luminance0.3263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DB2 #7DD9A4
analogous
#D27DD9 #D97DB2 #D97D84
triadic
#D97DB2 #B2D97D #7DB2D9
tetradic
#D97DB2 #D9D27D #7DD9A4 #7D84D9
square
#D97DB2 #D9D27D #7DD9A4 #7D84D9
split-complementary
#D97DB2 #84D97D #7DD9D2
monochromatic
#AA3277 #CB4E96 #D97DB2 #E7ACCE #F5DCEA

Accessibility & contrast

On white

2.79
#D97DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#D97DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DB2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DB2#FFFFFF#000000##000000
##D97DB21.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8491B4
Deuteranopia (green-blind)
#9BA0B0
Tritanopia (blue-blind)
#E47C90
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d97db2;
/* rgb */ color: rgb(217, 125, 178);
/* oklch */ color: oklch(70.5% 0.130 345.4);
Tailwind
colors: {
  custom: {
    50: '#e6a4c9',
    500: '#d97db2',
    950: '#000000',
  },
}
SCSS
$custom: #d97db2;
$custom-light: #e6a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d97db2",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 325.435,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70535,
    "c": 0.13035,
    "h": 345.4
  },
  "luminance": 0.32633
}

Semantic roles & 50–950 ramp

primary
#D97DB2
secondary
#CAE8D7
accent
#C26723
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #D97DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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