#D98EAF#D98EAF

#D98EAF is a light, moderate pink. Relative luminance 0.372; OKLCH L 73.2% C 0.100 H 351.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#D98EAF
RGBrgb(217, 142, 175)
HSLhsl(334, 50%, 70%)
HSVhsv(334, 35%, 85%)
CMYKcmyk(0%, 34.6%, 19.4%, 14.9%)
CIE-LABlab(67.42, 33.06, -5.48)
CIE-LCHlch(67.42, 33.51, 350.59°)
OKLaboklab(73.21% 0.0986 -0.0141)
OKLCHoklch(73.21% 0.1 351.9)
XYZxyz(46.0267, 37.1956, 45.3043)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98EAF #8ED9B8
analogous
#D98ED4 #D98EAF #D9928E
triadic
#D98EAF #AFD98E #8EAFD9
tetradic
#D98EAF #D4D98E #8ED9B8 #928ED9
square
#D98EAF #D4D98E #8ED9B8 #928ED9
split-complementary
#D98EAF #8ED992 #8ED4D9
monochromatic
#B13C6F #CA608F #D98EAF #E8BCCF #F7E8EF

Accessibility & contrast

On white

2.49
#D98EAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#D98EAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98EAF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98EAF#FFFFFF#000000##000000
##D98EAF1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#959CB0
Deuteranopia (green-blind)
#A8A9AD
Tritanopia (blue-blind)
#E48C99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d98eaf;
/* rgb */ color: rgb(217, 142, 175);
/* oklch */ color: oklch(73.2% 0.100 351.9);
Tailwind
colors: {
  custom: {
    50: '#e6b0c6',
    500: '#d98eaf',
    950: '#000000',
  },
}
SCSS
$custom: #d98eaf;
$custom-light: #e6b0c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d98eaf",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 175
  },
  "hsl": {
    "h": 333.6,
    "s": 49.669,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73205,
    "c": 0.09963,
    "h": 351.9
  },
  "luminance": 0.37193
}

Semantic roles & 50–950 ramp

primary
#D98EAF
secondary
#D7ECE3
accent
#BD7C29
background
#FEFAFC
surface
#FCF5F8
border
#D5CFD1
text
#161013
muted
#847F82

Preview Lab

Preview with #D98EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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