#D98DC6#D98DC6

#D98DC6 is a light, moderate pink. Relative luminance 0.379; OKLCH L 73.8% C 0.117 H 336.4°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#D98DC6
RGBrgb(217, 141, 198)
HSLhsl(315, 50%, 70%)
HSVhsv(315, 35%, 85%)
CMYKcmyk(0%, 35%, 8.8%, 14.9%)
CIE-LABlab(67.93, 37.31, -17.58)
CIE-LCHlch(67.93, 41.25, 334.77°)
OKLaboklab(73.83% 0.1075 -0.0471)
OKLCHoklch(73.83% 0.117 336.4)
XYZxyz(48.3329, 37.8811, 58.1810)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98DC6 #8DD9A0
analogous
#C68DD9 #D98DC6 #D98DA0
triadic
#D98DC6 #C6D98D #8DC6D9
tetradic
#D98DC6 #D9C68D #8DD9A0 #8DA0D9
square
#D98DC6 #D9C68D #8DD9A0 #8DA0D9
split-complementary
#D98DC6 #A0D98D #8DD9C6
monochromatic
#B13B93 #CA5FAF #D98DC6 #E8BBDD #F7E8F4

Accessibility & contrast

On white

2.45
#D98DC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#D98DC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98DC6
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98DC6#FFFFFF#000000##000000
##D98DC61.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9FC8
Deuteranopia (green-blind)
#A1AAC4
Tritanopia (blue-blind)
#E190A2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d98dc6;
/* rgb */ color: rgb(217, 141, 198);
/* oklch */ color: oklch(73.8% 0.117 336.4);
Tailwind
colors: {
  custom: {
    50: '#e6afd7',
    500: '#d98dc6',
    950: '#000000',
  },
}
SCSS
$custom: #d98dc6;
$custom-light: #e6afd7;
$custom-dark: #000000;
JSON
{
  "hex": "#d98dc6",
  "rgb": {
    "r": 217,
    "g": 141,
    "b": 198
  },
  "hsl": {
    "h": 315,
    "s": 50,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73833,
    "c": 0.11737,
    "h": 336.4
  },
  "luminance": 0.37879
}

Semantic roles & 50–950 ramp

primary
#D98DC6
secondary
#D6EBDC
accent
#BD4D28
background
#FEFAFD
surface
#FCF5FA
border
#D5CFD3
text
#161014
muted
#847F83

Preview Lab

Preview with #D98DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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