#D98FA1#D98FA1

#D98FA1 is a light, moderate red. Relative luminance 0.370; OKLCH L 72.9% C 0.092 H 3.7°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#D98FA1
RGBrgb(217, 143, 161)
HSLhsl(345, 49%, 71%)
HSVhsv(345, 34%, 85%)
CMYKcmyk(0%, 34.1%, 25.8%, 14.9%)
CIE-LABlab(67.26, 30.46, 2.14)
CIE-LCHlch(67.26, 30.54, 4.02°)
OKLaboklab(72.95% 0.0921 0.006)
OKLCHoklch(72.95% 0.092 3.7)
XYZxyz(44.8718, 36.9727, 38.4843)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FA1 #8FD9C7
analogous
#D98FC6 #D98FA1 #D9A28F
triadic
#D98FA1 #A1D98F #8FA1D9
tetradic
#D98FA1 #C6D98F #8FD9C7 #A28FD9
square
#D98FA1 #C6D98F #8FD9C7 #A28FD9
split-complementary
#D98FA1 #8FD9A2 #8FC6D9
monochromatic
#B13C59 #C9617B #D98FA1 #E9BDC7 #F7E8EC

Accessibility & contrast

On white

2.50
#D98FA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#D98FA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FA1
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FA1#FFFFFF#000000##000000
##D98FA11.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A9CA2
Deuteranopia (green-blind)
#ACA99F
Tritanopia (blue-blind)
#E58A95
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d98fa1;
/* rgb */ color: rgb(217, 143, 161);
/* oklch */ color: oklch(72.9% 0.092 3.7);
Tailwind
colors: {
  custom: {
    50: '#e6b0bc',
    500: '#d98fa1',
    950: '#000000',
  },
}
SCSS
$custom: #d98fa1;
$custom-light: #e6b0bc;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fa1",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 161
  },
  "hsl": {
    "h": 345.405,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72948,
    "c": 0.09225,
    "h": 3.7
  },
  "luminance": 0.3697
}

Semantic roles & 50–950 ramp

primary
#D98FA1
secondary
#D8ECE7
accent
#BD9929
background
#FEFAFB
surface
#FCF5F6
border
#D5CFD0
text
#161012
muted
#847F81

Preview Lab

Preview with #D98FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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