#D97BC2#D97BC2

#D97BC2 is a light, vivid pink. Relative luminance 0.328; OKLCH L 70.8% C 0.145 H 336.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#D97BC2
RGBrgb(217, 123, 194)
HSLhsl(315, 55%, 67%)
HSVhsv(315, 43%, 85%)
CMYKcmyk(0%, 43.3%, 10.6%, 14.9%)
CIE-LABlab(64.01, 46.08, -21.30)
CIE-LCHlch(64.01, 50.76, 335.19°)
OKLaboklab(70.83% 0.1337 -0.0572)
OKLCHoklch(70.83% 0.145 336.8)
XYZxyz(45.4359, 32.8154, 54.9693)
Luminance0.3281 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BC2 #7BD992
analogous
#C17BD9 #D97BC2 #D97B93
triadic
#D97BC2 #C2D97B #7BC2D9
tetradic
#D97BC2 #D9C17B #7BD992 #7B93D9
square
#D97BC2 #D9C17B #7BD992 #7B93D9
split-complementary
#D97BC2 #93D97B #7BD9C1
monochromatic
#A9318C #CB4BAC #D97BC2 #E7ABD8 #F4DAEE

Accessibility & contrast

On white

2.78
#D97BC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#D97BC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BC2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BC2#FFFFFF#000000##000000
##D97BC21.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D92C5
Deuteranopia (green-blind)
#95A0BF
Tritanopia (blue-blind)
#E27E96
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d97bc2;
/* rgb */ color: rgb(217, 123, 194);
/* oklch */ color: oklch(70.8% 0.145 336.8);
Tailwind
colors: {
  custom: {
    50: '#e6a3d4',
    500: '#d97bc2',
    950: '#000000',
  },
}
SCSS
$custom: #d97bc2;
$custom-light: #e6a3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bc2",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 314.681,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70827,
    "c": 0.1454,
    "h": 336.8
  },
  "luminance": 0.32813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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