#D98EAA#D98EAA

#D98EAA is a light, moderate pink. Relative luminance 0.370; OKLCH L 73.0% C 0.097 H 355.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#D98EAA
RGBrgb(217, 142, 170)
HSLhsl(338, 50%, 70%)
HSVhsv(338, 35%, 85%)
CMYKcmyk(0%, 34.6%, 21.7%, 14.9%)
CIE-LABlab(67.28, 32.30, -2.88)
CIE-LCHlch(67.28, 32.43, 354.90°)
OKLaboklab(73.05% 0.0969 -0.0072)
OKLCHoklch(73.05% 0.097 355.8)
XYZxyz(45.5447, 37.0028, 42.7658)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98EAA #8ED9BD
analogous
#D98ECF #D98EAA #D9978E
triadic
#D98EAA #AAD98E #8EAAD9
tetradic
#D98EAA #CFD98E #8ED9BD #978ED9
square
#D98EAA #CFD98E #8ED9BD #978ED9
split-complementary
#D98EAA #8ED997 #8ECFD9
monochromatic
#B13C67 #CA6088 #D98EAA #E8BCCC #F7E8EE

Accessibility & contrast

On white

2.50
#D98EAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#D98EAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98EAA
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98EAA#FFFFFF#000000##000000
##D98EAA1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#979CAB
Deuteranopia (green-blind)
#A9A9A8
Tritanopia (blue-blind)
#E48B98
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d98eaa;
/* rgb */ color: rgb(217, 142, 170);
/* oklch */ color: oklch(73.0% 0.097 355.8);
Tailwind
colors: {
  custom: {
    50: '#e6b0c3',
    500: '#d98eaa',
    950: '#000000',
  },
}
SCSS
$custom: #d98eaa;
$custom-light: #e6b0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#d98eaa",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 170
  },
  "hsl": {
    "h": 337.6,
    "s": 49.669,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73047,
    "c": 0.09715,
    "h": 355.8
  },
  "luminance": 0.37
}

Semantic roles & 50–950 ramp

primary
#D98EAA
secondary
#D7ECE4
accent
#BD8629
background
#FEFAFB
surface
#FCF5F7
border
#D5CFD0
text
#161012
muted
#847F81

Preview Lab

Preview with #D98EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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