#D97BC8#D97BC8

#D97BC8 is a light, vivid pink. Relative luminance 0.331; OKLCH L 71.1% C 0.150 H 334.1°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#D97BC8
RGBrgb(217, 123, 200)
HSLhsl(311, 55%, 67%)
HSVhsv(311, 43%, 85%)
CMYKcmyk(0%, 43.3%, 7.8%, 14.9%)
CIE-LABlab(64.23, 47.08, -24.34)
CIE-LCHlch(64.23, 53.00, 332.66°)
OKLaboklab(71.07% 0.1352 -0.0657)
OKLCHoklch(71.07% 0.15 334.1)
XYZxyz(46.1234, 33.0904, 58.5901)
Luminance0.3309 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BC8 #7BD98C
analogous
#BB7BD9 #D97BC8 #D97B99
triadic
#D97BC8 #C8D97B #7BC8D9
tetradic
#D97BC8 #D9BB7B #7BD98C #7B99D9
square
#D97BC8 #D9BB7B #7BD98C #7B99D9
split-complementary
#D97BC8 #99D97B #7BD9BB
monochromatic
#A93193 #CB4BB4 #D97BC8 #E7ABDC #F4DAF0

Accessibility & contrast

On white

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

On black

7.62
#D97BC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BC8
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BC8#FFFFFF#000000##000000
##D97BC81.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CB
Deuteranopia (green-blind)
#93A1C5
Tritanopia (blue-blind)
#E18098
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97bc8;
/* rgb */ color: rgb(217, 123, 200);
/* oklch */ color: oklch(71.1% 0.150 334.1);
Tailwind
colors: {
  custom: {
    50: '#e6a3d9',
    500: '#d97bc8',
    950: '#000000',
  },
}
SCSS
$custom: #d97bc8;
$custom-light: #e6a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bc8",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 200
  },
  "hsl": {
    "h": 310.851,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71068,
    "c": 0.1503,
    "h": 334.1
  },
  "luminance": 0.33088
}

Semantic roles & 50–950 ramp

primary
#D97BC8
secondary
#C9E7CE
accent
#C34023
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D97BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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