#D97BC5#D97BC5

#D97BC5 is a light, vivid pink. Relative luminance 0.329; OKLCH L 70.9% C 0.148 H 335.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#D97BC5
RGBrgb(217, 123, 197)
HSLhsl(313, 55%, 67%)
HSVhsv(313, 43%, 85%)
CMYKcmyk(0%, 43.3%, 9.2%, 14.9%)
CIE-LABlab(64.12, 46.57, -22.82)
CIE-LCHlch(64.12, 51.87, 333.89°)
OKLaboklab(70.95% 0.1344 -0.0615)
OKLCHoklch(70.95% 0.148 335.4)
XYZxyz(45.7762, 32.9516, 56.7617)
Luminance0.3295 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BC5 #7BD98F
analogous
#BE7BD9 #D97BC5 #D97B96
triadic
#D97BC5 #C5D97B #7BC5D9
tetradic
#D97BC5 #D9BE7B #7BD98F #7B96D9
square
#D97BC5 #D9BE7B #7BD98F #7B96D9
split-complementary
#D97BC5 #96D97B #7BD9BE
monochromatic
#A9318F #CB4BB0 #D97BC5 #E7ABDA #F4DAEF

Accessibility & contrast

On white

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

On black

7.59
#D97BC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BC5
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BC5#FFFFFF#000000##000000
##D97BC51.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B93C8
Deuteranopia (green-blind)
#94A1C2
Tritanopia (blue-blind)
#E17F97
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d97bc5;
/* rgb */ color: rgb(217, 123, 197);
/* oklch */ color: oklch(70.9% 0.148 335.4);
Tailwind
colors: {
  custom: {
    50: '#e6a3d6',
    500: '#d97bc5',
    950: '#000000',
  },
}
SCSS
$custom: #d97bc5;
$custom-light: #e6a3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bc5",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 312.766,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70946,
    "c": 0.14783,
    "h": 335.4
  },
  "luminance": 0.32949
}

Semantic roles & 50–950 ramp

primary
#D97BC5
secondary
#C9E7CF
accent
#C34523
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D97BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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