#D98FA7#D98FA7

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

Color values

HEX#D98FA7
RGBrgb(217, 143, 167)
HSLhsl(341, 49%, 71%)
HSVhsv(341, 34%, 85%)
CMYKcmyk(0%, 34.1%, 23%, 14.9%)
CIE-LABlab(67.42, 31.32, -0.99)
CIE-LCHlch(67.42, 31.34, 358.18°)
OKLaboklab(73.13% 0.0942 -0.0022)
OKLCHoklch(73.13% 0.094 358.7)
XYZxyz(45.4136, 37.1894, 41.3380)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FA7 #8FD9C1
analogous
#D98FCC #D98FA7 #D99C8F
triadic
#D98FA7 #A7D98F #8FA7D9
tetradic
#D98FA7 #CCD98F #8FD9C1 #9C8FD9
square
#D98FA7 #CCD98F #8FD9C1 #9C8FD9
split-complementary
#D98FA7 #8FD99C #8FCCD9
monochromatic
#B13C62 #C96183 #D98FA7 #E9BDCB #F7E8ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D98FA7#FFFFFF#000000##000000
##D98FA71.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)
#989CA8
Deuteranopia (green-blind)
#AAA9A5
Tritanopia (blue-blind)
#E58B97
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d98fa7;
/* rgb */ color: rgb(217, 143, 167);
/* oklch */ color: oklch(73.1% 0.094 358.7);
Tailwind
colors: {
  custom: {
    50: '#e6b0c1',
    500: '#d98fa7',
    950: '#000000',
  },
}
SCSS
$custom: #d98fa7;
$custom-light: #e6b0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fa7",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 167
  },
  "hsl": {
    "h": 340.541,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73126,
    "c": 0.09427,
    "h": 358.7
  },
  "luminance": 0.37187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D98FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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