#D98EB3#D98EB3

#D98EB3 is a light, moderate pink. Relative luminance 0.374; OKLCH L 73.3% C 0.102 H 348.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#D98EB3
RGBrgb(217, 142, 179)
HSLhsl(330, 50%, 70%)
HSVhsv(330, 35%, 85%)
CMYKcmyk(0%, 34.6%, 17.5%, 14.9%)
CIE-LABlab(67.54, 33.67, -7.54)
CIE-LCHlch(67.54, 34.51, 347.37°)
OKLaboklab(73.33% 0.1 -0.0196)
OKLCHoklch(73.33% 0.102 348.9)
XYZxyz(46.4254, 37.3550, 47.4040)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98EB3 #8ED9B4
analogous
#D98ED8 #D98EB3 #D98E8E
triadic
#D98EB3 #B3D98E #8EB3D9
tetradic
#D98EB3 #D8D98E #8ED9B4 #8E8ED9
square
#D98EB3 #D8D98E #8ED9B4 #8E8ED9
split-complementary
#D98EB3 #8ED98E #8ED8D9
monochromatic
#B13C76 #CA6094 #D98EB3 #E8BCD2 #F7E8F0

Accessibility & contrast

On white

2.48
#D98EB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#D98EB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98EB3
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98EB3#FFFFFF#000000##000000
##D98EB31.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#949DB4
Deuteranopia (green-blind)
#A7A9B1
Tritanopia (blue-blind)
#E38C9B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d98eb3;
/* rgb */ color: rgb(217, 142, 179);
/* oklch */ color: oklch(73.3% 0.102 348.9);
Tailwind
colors: {
  custom: {
    50: '#e6b0c9',
    500: '#d98eb3',
    950: '#000000',
  },
}
SCSS
$custom: #d98eb3;
$custom-light: #e6b0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d98eb3",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 179
  },
  "hsl": {
    "h": 330.4,
    "s": 49.669,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73335,
    "c": 0.1019,
    "h": 348.9
  },
  "luminance": 0.37352
}

Semantic roles & 50–950 ramp

primary
#D98EB3
secondary
#D7ECE2
accent
#BD7429
background
#FEFAFC
surface
#FCF5F8
border
#D5CFD1
text
#161013
muted
#847F82

Preview Lab

Preview with #D98EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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