#D98AA2#D98AA2

#D98AA2 is a light, moderate pink. Relative luminance 0.355; OKLCH L 72.1% C 0.100 H 0.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#D98AA2
RGBrgb(217, 138, 162)
HSLhsl(342, 51%, 70%)
HSVhsv(342, 36%, 85%)
CMYKcmyk(0%, 36.4%, 25.3%, 14.9%)
CIE-LABlab(66.17, 33.28, -0.01)
CIE-LCHlch(66.17, 33.28, 359.98°)
OKLaboklab(72.12% 0.1004 0.0004)
OKLCHoklch(72.12% 0.1 0.2)
XYZxyz(44.2264, 35.5402, 38.7059)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98AA2 #8AD9C1
analogous
#D98ACA #D98AA2 #D99A8A
triadic
#D98AA2 #A2D98A #8AA2D9
tetradic
#D98AA2 #CAD98A #8AD9C1 #9A8AD9
square
#D98AA2 #CAD98A #8AD9C1 #9A8AD9
split-complementary
#D98AA2 #8AD99A #8ACAD9
monochromatic
#B0395D #CA5C7D #D98AA2 #E8B8C7 #F7E6EB

Accessibility & contrast

On white

2.59
#D98AA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#D98AA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98AA2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98AA2#FFFFFF#000000##000000
##D98AA21.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9598A3
Deuteranopia (green-blind)
#A8A6A0
Tritanopia (blue-blind)
#E58592
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d98aa2;
/* rgb */ color: rgb(217, 138, 162);
/* oklch */ color: oklch(72.1% 0.100 0.2);
Tailwind
colors: {
  custom: {
    50: '#e6adbd',
    500: '#d98aa2',
    950: '#000000',
  },
}
SCSS
$custom: #d98aa2;
$custom-light: #e6adbd;
$custom-dark: #000000;
JSON
{
  "hex": "#d98aa2",
  "rgb": {
    "r": 217,
    "g": 138,
    "b": 162
  },
  "hsl": {
    "h": 341.772,
    "s": 50.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72124,
    "c": 0.1004,
    "h": 0.2
  },
  "luminance": 0.35537
}

Semantic roles & 50–950 ramp

primary
#D98AA2
secondary
#D4EBE4
accent
#BE9027
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#161012
muted
#847F81

Preview Lab

Preview with #D98AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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