#D98FAC#D98FAC

#D98FAC is a light, moderate pink. Relative luminance 0.374; OKLCH L 73.3% C 0.096 H 354.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#D98FAC
RGBrgb(217, 143, 172)
HSLhsl(336, 49%, 71%)
HSVhsv(336, 34%, 85%)
CMYKcmyk(0%, 34.1%, 20.7%, 14.9%)
CIE-LABlab(67.56, 32.06, -3.59)
CIE-LCHlch(67.56, 32.27, 353.61°)
OKLaboklab(73.28% 0.096 -0.0091)
OKLCHoklch(73.28% 0.096 354.6)
XYZxyz(45.8848, 37.3779, 43.8196)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FAC #8FD9BC
analogous
#D98FD1 #D98FAC #D9978F
triadic
#D98FAC #ACD98F #8FACD9
tetradic
#D98FAC #D1D98F #8FD9BC #978FD9
square
#D98FAC #D1D98F #8FD9BC #978FD9
split-complementary
#D98FAC #8FD997 #8FD1D9
monochromatic
#B13C6A #C9618A #D98FAC #E9BDCE #F7E8EE

Accessibility & contrast

On white

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

On black

8.48
#D98FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FAC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FAC#FFFFFF#000000##000000
##D98FAC1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#979DAD
Deuteranopia (green-blind)
#A9A9AA
Tritanopia (blue-blind)
#E48C99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d98fac;
/* rgb */ color: rgb(217, 143, 172);
/* oklch */ color: oklch(73.3% 0.096 354.6);
Tailwind
colors: {
  custom: {
    50: '#e6b0c4',
    500: '#d98fac',
    950: '#000000',
  },
}
SCSS
$custom: #d98fac;
$custom-light: #e6b0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fac",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 336.486,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7328,
    "c": 0.09644,
    "h": 354.6
  },
  "luminance": 0.37375
}

Semantic roles & 50–950 ramp

primary
#D98FAC
secondary
#D8ECE4
accent
#BD8329
background
#FEFAFC
surface
#FCF5F8
border
#D5CFD1
text
#161012
muted
#847F81

Preview Lab

Preview with #D98FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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