#D98FAA#D98FAA

#D98FAA is a light, moderate pink. Relative luminance 0.373; OKLCH L 73.2% C 0.096 H 356.2°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#D98FAA
RGBrgb(217, 143, 170)
HSLhsl(338, 49%, 71%)
HSVhsv(338, 34%, 85%)
CMYKcmyk(0%, 34.1%, 21.7%, 14.9%)
CIE-LABlab(67.50, 31.77, -2.55)
CIE-LCHlch(67.50, 31.87, 355.40°)
OKLaboklab(73.22% 0.0953 -0.0063)
OKLCHoklch(73.22% 0.096 356.2)
XYZxyz(45.6942, 37.3017, 42.8156)
Luminance0.3730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FAA #8FD9BE
analogous
#D98FCF #D98FAA #D9998F
triadic
#D98FAA #AAD98F #8FAAD9
tetradic
#D98FAA #CFD98F #8FD9BE #998FD9
square
#D98FAA #CFD98F #8FD9BE #998FD9
split-complementary
#D98FAA #8FD999 #8FCFD9
monochromatic
#B13C67 #C96187 #D98FAA #E9BDCD #F7E8EE

Accessibility & contrast

On white

2.48
#D98FAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#D98FAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FAA
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FAA#FFFFFF#000000##000000
##D98FAA1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#989DAB
Deuteranopia (green-blind)
#AAA9A8
Tritanopia (blue-blind)
#E48C98
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d98faa;
/* rgb */ color: rgb(217, 143, 170);
/* oklch */ color: oklch(73.2% 0.096 356.2);
Tailwind
colors: {
  custom: {
    50: '#e6b0c3',
    500: '#d98faa',
    950: '#000000',
  },
}
SCSS
$custom: #d98faa;
$custom-light: #e6b0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#d98faa",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 170
  },
  "hsl": {
    "h": 338.108,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73218,
    "c": 0.09552,
    "h": 356.2
  },
  "luminance": 0.37299
}

Semantic roles & 50–950 ramp

primary
#D98FAA
secondary
#D8ECE5
accent
#BD8729
background
#FEFAFB
surface
#FCF5F7
border
#D5CFD0
text
#161012
muted
#847F81

Preview Lab

Preview with #D98FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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