#D98BB1#D98BB1

#D98BB1 is a light, moderate pink. Relative luminance 0.364; OKLCH L 72.8% C 0.106 H 349.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#D98BB1
RGBrgb(217, 139, 177)
HSLhsl(331, 51%, 70%)
HSVhsv(331, 36%, 85%)
CMYKcmyk(0%, 35.9%, 18.4%, 14.9%)
CIE-LABlab(66.82, 34.97, -7.49)
CIE-LCHlch(66.82, 35.76, 347.90°)
OKLaboklab(72.76% 0.104 -0.0195)
OKLCHoklch(72.76% 0.106 349.4)
XYZxyz(45.7843, 36.3940, 46.1997)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98BB1 #8BD9B3
analogous
#D98BD8 #D98BB1 #D98C8B
triadic
#D98BB1 #B1D98B #8BB1D9
tetradic
#D98BB1 #D8D98B #8BD9B3 #8C8BD9
square
#D98BB1 #D8D98B #8BD9B3 #8C8BD9
split-complementary
#D98BB1 #8BD98C #8BD8D9
monochromatic
#B03A73 #CA5D92 #D98BB1 #E8B9D0 #F7E7EF

Accessibility & contrast

On white

2.54
#D98BB1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#D98BB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98BB1
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98BB1#FFFFFF#000000##000000
##D98BB11.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#929BB2
Deuteranopia (green-blind)
#A5A7AF
Tritanopia (blue-blind)
#E48998
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d98bb1;
/* rgb */ color: rgb(217, 139, 177);
/* oklch */ color: oklch(72.8% 0.106 349.4);
Tailwind
colors: {
  custom: {
    50: '#e6aec8',
    500: '#d98bb1',
    950: '#000000',
  },
}
SCSS
$custom: #d98bb1;
$custom-light: #e6aec8;
$custom-dark: #000000;
JSON
{
  "hex": "#d98bb1",
  "rgb": {
    "r": 217,
    "g": 139,
    "b": 177
  },
  "hsl": {
    "h": 330.769,
    "s": 50.649,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72764,
    "c": 0.10584,
    "h": 349.4
  },
  "luminance": 0.36391
}

Semantic roles & 50–950 ramp

primary
#D98BB1
secondary
#D5EBE0
accent
#BE7527
background
#FEFAFC
surface
#FCF4F8
border
#D5CED1
text
#161013
muted
#847F82

Preview Lab

Preview with #D98BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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