#D98BB2#D98BB2

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

Color values

HEX#D98BB2
RGBrgb(217, 139, 178)
HSLhsl(330, 51%, 70%)
HSVhsv(330, 36%, 85%)
CMYKcmyk(0%, 35.9%, 18%, 14.9%)
CIE-LABlab(66.85, 35.12, -8.01)
CIE-LCHlch(66.85, 36.02, 347.15°)
OKLaboklab(72.8% 0.1044 -0.0209)
OKLCHoklch(72.8% 0.106 348.7)
XYZxyz(45.8843, 36.4340, 46.7265)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98BB2 #8BD9B2
analogous
#D98BD9 #D98BB2 #D98B8B
triadic
#D98BB2 #B2D98B #8BB2D9
tetradic
#D98BB2 #D9D98B #8BD9B2 #8B8BD9
square
#D98BB2 #D9D98B #8BD9B2 #8B8BD9
split-complementary
#D98BB2 #8BD98B #8BD9D9
monochromatic
#B03A75 #CA5D93 #D98BB2 #E8B9D1 #F7E7EF

Accessibility & contrast

On white

2.53
#D98BB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#D98BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98BB2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98BB2#FFFFFF#000000##000000
##D98BB21.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#929BB3
Deuteranopia (green-blind)
#A5A8B0
Tritanopia (blue-blind)
#E38999
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d98bb2;
/* rgb */ color: rgb(217, 139, 178);
/* oklch */ color: oklch(72.8% 0.106 348.7);
Tailwind
colors: {
  custom: {
    50: '#e6aec9',
    500: '#d98bb2',
    950: '#000000',
  },
}
SCSS
$custom: #d98bb2;
$custom-light: #e6aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#d98bb2",
  "rgb": {
    "r": 217,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 330,
    "s": 50.649,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72797,
    "c": 0.10644,
    "h": 348.7
  },
  "luminance": 0.36431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D98BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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