#D98FA6#D98FA6

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

Color values

HEX#D98FA6
RGBrgb(217, 143, 166)
HSLhsl(341, 49%, 71%)
HSVhsv(341, 34%, 85%)
CMYKcmyk(0%, 34.1%, 23.5%, 14.9%)
CIE-LABlab(67.39, 31.18, -0.47)
CIE-LCHlch(67.39, 31.18, 359.13°)
OKLaboklab(73.1% 0.0939 -0.0008)
OKLCHoklch(73.1% 0.094 359.5)
XYZxyz(45.3215, 37.1526, 40.8530)
Luminance0.3715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FA6 #8FD9C2
analogous
#D98FCB #D98FA6 #D99D8F
triadic
#D98FA6 #A6D98F #8FA6D9
tetradic
#D98FA6 #CBD98F #8FD9C2 #9D8FD9
square
#D98FA6 #CBD98F #8FD9C2 #9D8FD9
split-complementary
#D98FA6 #8FD99D #8FCBD9
monochromatic
#B13C61 #C96182 #D98FA6 #E9BDCA #F7E8ED

Accessibility & contrast

On white

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

On black

8.43
#D98FA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FA6
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FA6#FFFFFF#000000##000000
##D98FA61.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#999CA7
Deuteranopia (green-blind)
#AAA9A4
Tritanopia (blue-blind)
#E58B97
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d98fa6;
/* rgb */ color: rgb(217, 143, 166);
/* oklch */ color: oklch(73.1% 0.094 359.5);
Tailwind
colors: {
  custom: {
    50: '#e6b0c0',
    500: '#d98fa6',
    950: '#000000',
  },
}
SCSS
$custom: #d98fa6;
$custom-light: #e6b0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fa6",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 166
  },
  "hsl": {
    "h": 341.351,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73096,
    "c": 0.09388,
    "h": 359.5
  },
  "luminance": 0.3715
}

Semantic roles & 50–950 ramp

primary
#D98FA6
secondary
#D8ECE6
accent
#BD8F29
background
#FEFAFB
surface
#FCF5F7
border
#D5CFD0
text
#161012
muted
#847F81

Preview Lab

Preview with #D98FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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