#D98FA8#D98FA8

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

Color values

HEX#D98FA8
RGBrgb(217, 143, 168)
HSLhsl(340, 49%, 71%)
HSVhsv(340, 34%, 85%)
CMYKcmyk(0%, 34.1%, 22.6%, 14.9%)
CIE-LABlab(67.45, 31.47, -1.51)
CIE-LCHlch(67.45, 31.51, 357.25°)
OKLaboklab(73.16% 0.0946 -0.0036)
OKLCHoklch(73.16% 0.095 357.8)
XYZxyz(45.5064, 37.2266, 41.8268)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FA8 #8FD9C0
analogous
#D98FCD #D98FA8 #D99B8F
triadic
#D98FA8 #A8D98F #8FA8D9
tetradic
#D98FA8 #CDD98F #8FD9C0 #9B8FD9
square
#D98FA8 #CDD98F #8FD9C0 #9B8FD9
split-complementary
#D98FA8 #8FD99B #8FCDD9
monochromatic
#B13C64 #C96185 #D98FA8 #E9BDCB #F7E8ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D98FA8#FFFFFF#000000##000000
##D98FA81.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)
#989CA9
Deuteranopia (green-blind)
#AAA9A6
Tritanopia (blue-blind)
#E58B98
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d98fa8;
/* rgb */ color: rgb(217, 143, 168);
/* oklch */ color: oklch(73.2% 0.095 357.8);
Tailwind
colors: {
  custom: {
    50: '#e6b0c1',
    500: '#d98fa8',
    950: '#000000',
  },
}
SCSS
$custom: #d98fa8;
$custom-light: #e6b0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fa8",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 168
  },
  "hsl": {
    "h": 339.73,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73156,
    "c": 0.09466,
    "h": 357.8
  },
  "luminance": 0.37224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D98FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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