#D98EA7#D98EA7

#D98EA7 is a light, moderate pink. Relative luminance 0.369; OKLCH L 73.0% C 0.096 H 358.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#D98EA7
RGBrgb(217, 142, 167)
HSLhsl(340, 50%, 70%)
HSVhsv(340, 35%, 85%)
CMYKcmyk(0%, 34.6%, 23%, 14.9%)
CIE-LABlab(67.19, 31.86, -1.32)
CIE-LCHlch(67.19, 31.89, 357.62°)
OKLaboklab(72.96% 0.0958 -0.003)
OKLCHoklch(72.96% 0.096 358.2)
XYZxyz(45.2642, 36.8905, 41.2882)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98EA7 #8ED9C0
analogous
#D98ECC #D98EA7 #D99A8E
triadic
#D98EA7 #A7D98E #8EA7D9
tetradic
#D98EA7 #CCD98E #8ED9C0 #9A8ED9
square
#D98EA7 #CCD98E #8ED9C0 #9A8ED9
split-complementary
#D98EA7 #8ED99A #8ECCD9
monochromatic
#B13C63 #CA6083 #D98EA7 #E8BCCB #F7E8ED

Accessibility & contrast

On white

2.51
#D98EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#D98EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98EA7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98EA7#FFFFFF#000000##000000
##D98EA71.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#979CA8
Deuteranopia (green-blind)
#AAA9A5
Tritanopia (blue-blind)
#E58A97
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d98ea7;
/* rgb */ color: rgb(217, 142, 167);
/* oklch */ color: oklch(73.0% 0.096 358.2);
Tailwind
colors: {
  custom: {
    50: '#e6b0c1',
    500: '#d98ea7',
    950: '#000000',
  },
}
SCSS
$custom: #d98ea7;
$custom-light: #e6b0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ea7",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 340,
    "s": 49.669,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72955,
    "c": 0.09588,
    "h": 358.2
  },
  "luminance": 0.36888
}

Semantic roles & 50–950 ramp

primary
#D98EA7
secondary
#D7ECE5
accent
#BD8B29
background
#FEFAFB
surface
#FCF5F7
border
#D5CFD0
text
#161012
muted
#847F81

Preview Lab

Preview with #D98EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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