#D98DA2#D98DA2

#D98DA2 is a light, moderate pink. Relative luminance 0.364; OKLCH L 72.6% C 0.096 H 1.8°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#D98DA2
RGBrgb(217, 141, 162)
HSLhsl(343, 50%, 70%)
HSVhsv(343, 35%, 85%)
CMYKcmyk(0%, 35%, 25.3%, 14.9%)
CIE-LABlab(66.83, 31.68, 0.96)
CIE-LCHlch(66.83, 31.69, 1.74°)
OKLaboklab(72.63% 0.0956 0.003)
OKLCHoklch(72.63% 0.096 1.8)
XYZxyz(44.6628, 36.4130, 38.8514)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98DA2 #8DD9C4
analogous
#D98DC8 #D98DA2 #D99E8D
triadic
#D98DA2 #A2D98D #8DA2D9
tetradic
#D98DA2 #C8D98D #8DD9C4 #9E8DD9
square
#D98DA2 #C8D98D #8DD9C4 #9E8DD9
split-complementary
#D98DA2 #8DD99E #8DC8D9
monochromatic
#B13B5B #CA5F7D #D98DA2 #E8BBC7 #F7E8EC

Accessibility & contrast

On white

2.54
#D98DA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#D98DA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98DA2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98DA2#FFFFFF#000000##000000
##D98DA21.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#989AA3
Deuteranopia (green-blind)
#AAA8A0
Tritanopia (blue-blind)
#E58894
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d98da2;
/* rgb */ color: rgb(217, 141, 162);
/* oklch */ color: oklch(72.6% 0.096 1.8);
Tailwind
colors: {
  custom: {
    50: '#e6afbd',
    500: '#d98da2',
    950: '#000000',
  },
}
SCSS
$custom: #d98da2;
$custom-light: #e6afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#d98da2",
  "rgb": {
    "r": 217,
    "g": 141,
    "b": 162
  },
  "hsl": {
    "h": 343.421,
    "s": 50,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72634,
    "c": 0.09566,
    "h": 1.8
  },
  "luminance": 0.3641
}

Semantic roles & 50–950 ramp

primary
#D98DA2
secondary
#D6EBE6
accent
#BD9428
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#161012
muted
#847F81

Preview Lab

Preview with #D98DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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