#D97BC4#D97BC4

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

Color values

HEX#D97BC4
RGBrgb(217, 123, 196)
HSLhsl(313, 55%, 67%)
HSVhsv(313, 43%, 85%)
CMYKcmyk(0%, 43.3%, 9.7%, 14.9%)
CIE-LABlab(64.08, 46.41, -22.32)
CIE-LCHlch(64.08, 51.49, 334.32°)
OKLaboklab(70.91% 0.1342 -0.0601)
OKLCHoklch(70.91% 0.147 335.9)
XYZxyz(45.6620, 32.9059, 56.1602)
Luminance0.3290 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BC4 #7BD990
analogous
#BF7BD9 #D97BC4 #D97B95
triadic
#D97BC4 #C4D97B #7BC4D9
tetradic
#D97BC4 #D9BF7B #7BD990 #7B95D9
square
#D97BC4 #D9BF7B #7BD990 #7B95D9
split-complementary
#D97BC4 #95D97B #7BD9BF
monochromatic
#A9318E #CB4BAF #D97BC4 #E7ABD9 #F4DAEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D97BC4#FFFFFF#000000##000000
##D97BC41.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)
#7C93C7
Deuteranopia (green-blind)
#95A0C1
Tritanopia (blue-blind)
#E27F97
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d97bc4;
/* rgb */ color: rgb(217, 123, 196);
/* oklch */ color: oklch(70.9% 0.147 335.9);
Tailwind
colors: {
  custom: {
    50: '#e6a3d6',
    500: '#d97bc4',
    950: '#000000',
  },
}
SCSS
$custom: #d97bc4;
$custom-light: #e6a3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bc4",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 196
  },
  "hsl": {
    "h": 313.404,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70906,
    "c": 0.147,
    "h": 335.9
  },
  "luminance": 0.32903
}

Semantic roles & 50–950 ramp

primary
#D97BC4
secondary
#C9E7D0
accent
#C34623
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D97BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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