#D98FAF#D98FAF

#D98FAF is a light, moderate pink. Relative luminance 0.375; OKLCH L 73.4% C 0.098 H 352.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#D98FAF
RGBrgb(217, 143, 175)
HSLhsl(334, 49%, 71%)
HSVhsv(334, 34%, 85%)
CMYKcmyk(0%, 34.1%, 19.4%, 14.9%)
CIE-LABlab(67.65, 32.52, -5.15)
CIE-LCHlch(67.65, 32.92, 351.01°)
OKLaboklab(73.38% 0.0971 -0.0132)
OKLCHoklch(73.38% 0.098 352.2)
XYZxyz(46.1762, 37.4945, 45.3541)
Luminance0.3749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FAF #8FD9B9
analogous
#D98FD4 #D98FAF #D9948F
triadic
#D98FAF #AFD98F #8FAFD9
tetradic
#D98FAF #D4D98F #8FD9B9 #948FD9
square
#D98FAF #D4D98F #8FD9B9 #948FD9
split-complementary
#D98FAF #8FD994 #8FD4D9
monochromatic
#B13C6F #C9618E #D98FAF #E9BDD0 #F7E8EF

Accessibility & contrast

On white

2.47
#D98FAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#D98FAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FAF
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FAF#FFFFFF#000000##000000
##D98FAF1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#969DB0
Deuteranopia (green-blind)
#A8AAAD
Tritanopia (blue-blind)
#E48D9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d98faf;
/* rgb */ color: rgb(217, 143, 175);
/* oklch */ color: oklch(73.4% 0.098 352.2);
Tailwind
colors: {
  custom: {
    50: '#e6b0c6',
    500: '#d98faf',
    950: '#000000',
  },
}
SCSS
$custom: #d98faf;
$custom-light: #e6b0c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d98faf",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 175
  },
  "hsl": {
    "h": 334.054,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73375,
    "c": 0.09795,
    "h": 352.2
  },
  "luminance": 0.37492
}

Semantic roles & 50–950 ramp

primary
#D98FAF
secondary
#D8ECE3
accent
#BD7D29
background
#FEFAFC
surface
#FCF5F8
border
#D5CFD1
text
#161013
muted
#847F82

Preview Lab

Preview with #D98FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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