#D97FB2#D97FB2

#D97FB2 is a light, vivid pink. Relative luminance 0.331; OKLCH L 70.8% C 0.127 H 345.8°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D97FB2
RGBrgb(217, 127, 178)
HSLhsl(326, 54%, 67%)
HSVhsv(326, 41%, 85%)
CMYKcmyk(0%, 41.5%, 18%, 14.9%)
CIE-LABlab(64.28, 41.46, -11.85)
CIE-LCHlch(64.28, 43.12, 344.05°)
OKLaboklab(70.85% 0.1231 -0.0312)
OKLCHoklch(70.85% 0.127 345.8)
XYZxyz(44.2411, 33.1477, 46.1788)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FB2 #7FD9A6
analogous
#D37FD9 #D97FB2 #D97F85
triadic
#D97FB2 #B2D97F #7FB2D9
tetradic
#D97FB2 #D9D37F #7FD9A6 #7F85D9
square
#D97FB2 #D9D37F #7FD9A6 #7F85D9
split-complementary
#D97FB2 #85D97F #7FD9D3
monochromatic
#AB3377 #CB5096 #D97FB2 #E7AECE #F5DDEB

Accessibility & contrast

On white

2.75
#D97FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D97FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FB2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FB2#FFFFFF#000000##000000
##D97FB21.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8693B4
Deuteranopia (green-blind)
#9DA1B0
Tritanopia (blue-blind)
#E47E92
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97fb2;
/* rgb */ color: rgb(217, 127, 178);
/* oklch */ color: oklch(70.8% 0.127 345.8);
Tailwind
colors: {
  custom: {
    50: '#e6a6c9',
    500: '#d97fb2',
    950: '#000000',
  },
}
SCSS
$custom: #d97fb2;
$custom-light: #e6a6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fb2",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 326,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70848,
    "c": 0.12695,
    "h": 345.8
  },
  "luminance": 0.33145
}

Semantic roles & 50–950 ramp

primary
#D97FB2
secondary
#CCE8D8
accent
#C26824
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #D97FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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