#D98FA2#D98FA2

#D98FA2 is a light, moderate pink. Relative luminance 0.370; OKLCH L 73.0% C 0.093 H 2.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#D98FA2
RGBrgb(217, 143, 162)
HSLhsl(345, 49%, 71%)
HSVhsv(345, 34%, 85%)
CMYKcmyk(0%, 34.1%, 25.3%, 14.9%)
CIE-LABlab(67.28, 30.60, 1.62)
CIE-LCHlch(67.28, 30.65, 3.02°)
OKLaboklab(72.98% 0.0924 0.0047)
OKLCHoklch(72.98% 0.093 2.9)
XYZxyz(44.9603, 37.0081, 38.9506)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FA2 #8FD9C6
analogous
#D98FC7 #D98FA2 #D9A18F
triadic
#D98FA2 #A2D98F #8FA2D9
tetradic
#D98FA2 #C7D98F #8FD9C6 #A18FD9
square
#D98FA2 #C7D98F #8FD9C6 #A18FD9
split-complementary
#D98FA2 #8FD9A1 #8FC7D9
monochromatic
#B13C5A #C9617C #D98FA2 #E9BDC8 #F7E8EC

Accessibility & contrast

On white

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

On black

8.40
#D98FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FA2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FA2#FFFFFF#000000##000000
##D98FA21.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#999CA3
Deuteranopia (green-blind)
#ABA9A0
Tritanopia (blue-blind)
#E58A96
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d98fa2;
/* rgb */ color: rgb(217, 143, 162);
/* oklch */ color: oklch(73.0% 0.093 2.9);
Tailwind
colors: {
  custom: {
    50: '#e6b0bd',
    500: '#d98fa2',
    950: '#000000',
  },
}
SCSS
$custom: #d98fa2;
$custom-light: #e6b0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fa2",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 162
  },
  "hsl": {
    "h": 344.595,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72977,
    "c": 0.09254,
    "h": 2.9
  },
  "luminance": 0.37005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D98FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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