#D97BC6#D97BC6

#D97BC6 is a light, vivid pink. Relative luminance 0.330; OKLCH L 71.0% C 0.149 H 335.0°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#D97BC6
RGBrgb(217, 123, 198)
HSLhsl(312, 55%, 67%)
HSVhsv(312, 43%, 85%)
CMYKcmyk(0%, 43.3%, 8.8%, 14.9%)
CIE-LABlab(64.16, 46.74, -23.33)
CIE-LCHlch(64.16, 52.24, 333.48°)
OKLaboklab(70.99% 0.1347 -0.0629)
OKLCHoklch(70.99% 0.149 335)
XYZxyz(45.8912, 32.9975, 57.3671)
Luminance0.3300 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BC6 #7BD98E
analogous
#BD7BD9 #D97BC6 #D97B97
triadic
#D97BC6 #C6D97B #7BC6D9
tetradic
#D97BC6 #D9BD7B #7BD98E #7B97D9
square
#D97BC6 #D9BD7B #7BD98E #7B97D9
split-complementary
#D97BC6 #97D97B #7BD9BD
monochromatic
#A93191 #CB4BB1 #D97BC6 #E7ABDB #F4DAEF

Accessibility & contrast

On white

2.76
#D97BC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#D97BC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BC6
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BC6#FFFFFF#000000##000000
##D97BC61.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B93C9
Deuteranopia (green-blind)
#94A1C3
Tritanopia (blue-blind)
#E17F98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d97bc6;
/* rgb */ color: rgb(217, 123, 198);
/* oklch */ color: oklch(71.0% 0.149 335.0);
Tailwind
colors: {
  custom: {
    50: '#e6a3d7',
    500: '#d97bc6',
    950: '#000000',
  },
}
SCSS
$custom: #d97bc6;
$custom-light: #e6a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bc6",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 198
  },
  "hsl": {
    "h": 312.128,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70986,
    "c": 0.14864,
    "h": 335
  },
  "luminance": 0.32995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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