#D981BF#D981BF

#D981BF is a light, vivid pink. Relative luminance 0.342; OKLCH L 71.6% C 0.133 H 338.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D981BF
RGBrgb(217, 129, 191)
HSLhsl(318, 54%, 68%)
HSVhsv(318, 41%, 85%)
CMYKcmyk(0%, 40.6%, 12%, 14.9%)
CIE-LABlab(65.13, 42.48, -17.90)
CIE-LCHlch(65.13, 46.09, 337.15°)
OKLaboklab(71.64% 0.1238 -0.0478)
OKLCHoklch(71.64% 0.133 338.9)
XYZxyz(45.8696, 34.2165, 53.4685)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D981BF #81D99B
analogous
#C781D9 #D981BF #D98193
triadic
#D981BF #BFD981 #81BFD9
tetradic
#D981BF #D9C781 #81D99B #8193D9
square
#D981BF #D9C781 #81D99B #8193D9
split-complementary
#D981BF #93D981 #81D9C7
monochromatic
#AC3488 #CB52A7 #D981BF #E7B0D7 #F5DFEF

Accessibility & contrast

On white

2.68
#D981BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#D981BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D981BF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D981BF#FFFFFF#000000##000000
##D981BF1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8496C1
Deuteranopia (green-blind)
#9AA3BD
Tritanopia (blue-blind)
#E28398
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d981bf;
/* rgb */ color: rgb(217, 129, 191);
/* oklch */ color: oklch(71.6% 0.133 338.9);
Tailwind
colors: {
  custom: {
    50: '#e6a7d2',
    500: '#d981bf',
    950: '#000000',
  },
}
SCSS
$custom: #d981bf;
$custom-light: #e6a7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d981bf",
  "rgb": {
    "r": 217,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 317.727,
    "s": 53.659,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71637,
    "c": 0.13274,
    "h": 338.9
  },
  "luminance": 0.34214
}

Semantic roles & 50–950 ramp

primary
#D981BF
secondary
#CDE8D5
accent
#C15324
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#161014
muted
#847F82

Preview Lab

Preview with #D981BF

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

Preview Lab → · Contrast checker → · Palette generator →

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