#D971BF#D971BF

#D971BF is a light, vivid pink. Relative luminance 0.303; OKLCH L 69.2% C 0.160 H 337.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#D971BF
RGBrgb(217, 113, 191)
HSLhsl(315, 58%, 65%)
HSVhsv(315, 48%, 85%)
CMYKcmyk(0%, 47.9%, 12%, 14.9%)
CIE-LABlab(61.93, 50.64, -22.78)
CIE-LCHlch(61.93, 55.53, 335.78°)
OKLaboklab(69.24% 0.1477 -0.0613)
OKLCHoklch(69.24% 0.16 337.5)
XYZxyz(43.9246, 30.3265, 52.8202)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971BF #71D98B
analogous
#BF71D9 #D971BF #D9718B
triadic
#D971BF #BFD971 #71BFD9
tetradic
#D971BF #D9BF71 #71D98B #718BD9
square
#D971BF #D9BF71 #71D98B #718BD9
split-complementary
#D971BF #8BD971 #71D9BF
monochromatic
#A42C86 #CC41A9 #D971BF #E6A1D5 #F3D2EB

Accessibility & contrast

On white

2.97
#D971BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#D971BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971BF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971BF#FFFFFF#000000##000000
##D971BF1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#738CC2
Deuteranopia (green-blind)
#909BBC
Tritanopia (blue-blind)
#E3748F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d971bf;
/* rgb */ color: rgb(217, 113, 191);
/* oklch */ color: oklch(69.2% 0.160 337.5);
Tailwind
colors: {
  custom: {
    50: '#e79dd2',
    500: '#d971bf',
    950: '#000000',
  },
}
SCSS
$custom: #d971bf;
$custom-light: #e79dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#d971bf",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 315,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69237,
    "c": 0.15986,
    "h": 337.5
  },
  "luminance": 0.30324
}

Semantic roles & 50–950 ramp

primary
#D971BF
secondary
#C1E5CA
accent
#C54920
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D971BF

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

Preview Lab → · Contrast checker → · Palette generator →

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