#D98EA2#D98EA2

#D98EA2 is a light, moderate pink. Relative luminance 0.367; OKLCH L 72.8% C 0.094 H 2.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#D98EA2
RGBrgb(217, 142, 162)
HSLhsl(344, 50%, 70%)
HSVhsv(344, 35%, 85%)
CMYKcmyk(0%, 34.6%, 25.3%, 14.9%)
CIE-LABlab(67.06, 31.14, 1.29)
CIE-LCHlch(67.06, 31.17, 2.37°)
OKLaboklab(72.8% 0.094 0.0038)
OKLCHoklch(72.8% 0.094 2.3)
XYZxyz(44.8109, 36.7092, 38.9008)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98EA2 #8ED9C5
analogous
#D98EC7 #D98EA2 #D99F8E
triadic
#D98EA2 #A2D98E #8EA2D9
tetradic
#D98EA2 #C7D98E #8ED9C5 #9F8ED9
square
#D98EA2 #C7D98E #8ED9C5 #9F8ED9
split-complementary
#D98EA2 #8ED99F #8EC7D9
monochromatic
#B13C5B #CA607C #D98EA2 #E8BCC8 #F7E8EC

Accessibility & contrast

On white

2.52
#D98EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#D98EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98EA2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98EA2#FFFFFF#000000##000000
##D98EA21.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#999BA3
Deuteranopia (green-blind)
#ABA8A0
Tritanopia (blue-blind)
#E58995
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d98ea2;
/* rgb */ color: rgb(217, 142, 162);
/* oklch */ color: oklch(72.8% 0.094 2.3);
Tailwind
colors: {
  custom: {
    50: '#e6b0bd',
    500: '#d98ea2',
    950: '#000000',
  },
}
SCSS
$custom: #d98ea2;
$custom-light: #e6b0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ea2",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 344,
    "s": 49.669,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72805,
    "c": 0.0941,
    "h": 2.3
  },
  "luminance": 0.36706
}

Semantic roles & 50–950 ramp

primary
#D98EA2
secondary
#D7ECE6
accent
#BD9529
background
#FEFAFB
surface
#FDF5F6
border
#D5CFD0
text
#161012
muted
#847F81

Preview Lab

Preview with #D98EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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