#D98DC2#D98DC2

#D98DC2 is a light, moderate pink. Relative luminance 0.377; OKLCH L 73.7% C 0.114 H 338.7°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#D98DC2
RGBrgb(217, 141, 194)
HSLhsl(318, 50%, 70%)
HSVhsv(318, 35%, 85%)
CMYKcmyk(0%, 35%, 10.6%, 14.9%)
CIE-LABlab(67.80, 36.63, -15.55)
CIE-LCHlch(67.80, 39.80, 337.00°)
OKLaboklab(73.69% 0.1063 -0.0414)
OKLCHoklch(73.69% 0.114 338.7)
XYZxyz(47.8777, 37.6989, 55.7832)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98DC2 #8DD9A4
analogous
#CA8DD9 #D98DC2 #D98D9C
triadic
#D98DC2 #C2D98D #8DC2D9
tetradic
#D98DC2 #D9CA8D #8DD9A4 #8D9CD9
square
#D98DC2 #D9CA8D #8DD9A4 #8D9CD9
split-complementary
#D98DC2 #9CD98D #8DD9CA
monochromatic
#B13B8D #CA5FA9 #D98DC2 #E8BBDB #F7E8F3

Accessibility & contrast

On white

2.46
#D98DC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#D98DC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98DC2
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98DC2#FFFFFF#000000##000000
##D98DC21.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9EC4
Deuteranopia (green-blind)
#A2A9C0
Tritanopia (blue-blind)
#E18FA0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d98dc2;
/* rgb */ color: rgb(217, 141, 194);
/* oklch */ color: oklch(73.7% 0.114 338.7);
Tailwind
colors: {
  custom: {
    50: '#e6afd4',
    500: '#d98dc2',
    950: '#000000',
  },
}
SCSS
$custom: #d98dc2;
$custom-light: #e6afd4;
$custom-dark: #000000;
JSON
{
  "hex": "#d98dc2",
  "rgb": {
    "r": 217,
    "g": 141,
    "b": 194
  },
  "hsl": {
    "h": 318.158,
    "s": 50,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73686,
    "c": 0.11412,
    "h": 338.7
  },
  "luminance": 0.37697
}

Semantic roles & 50–950 ramp

primary
#D98DC2
secondary
#D6EBDD
accent
#BD5528
background
#FEFAFD
surface
#FCF5FA
border
#D5CFD3
text
#161014
muted
#847F83

Preview Lab

Preview with #D98DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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