#D98DCA#D98DCA

#D98DCA is a light, vivid pink. Relative luminance 0.381; OKLCH L 74.0% C 0.121 H 334.1°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#D98DCA
RGBrgb(217, 141, 202)
HSLhsl(312, 50%, 70%)
HSVhsv(312, 35%, 85%)
CMYKcmyk(0%, 35%, 6.9%, 14.9%)
CIE-LABlab(68.07, 38.00, -19.60)
CIE-LCHlch(68.07, 42.76, 332.71°)
OKLaboklab(73.98% 0.1087 -0.0527)
OKLCHoklch(73.98% 0.121 334.1)
XYZxyz(48.8004, 38.0680, 60.6430)
Luminance0.3807 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98DCA #8DD99C
analogous
#C28DD9 #D98DCA #D98DA4
triadic
#D98DCA #CAD98D #8DCAD9
tetradic
#D98DCA #D9C28D #8DD99C #8DA4D9
square
#D98DCA #D9C28D #8DD99C #8DA4D9
split-complementary
#D98DCA #A4D98D #8DD9C2
monochromatic
#B13B99 #CA5FB5 #D98DCA #E8BBDF #F7E8F4

Accessibility & contrast

On white

2.44
#D98DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#D98DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98DCA
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98DCA#FFFFFF#000000##000000
##D98DCA1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9FCC
Deuteranopia (green-blind)
#A0AAC8
Tritanopia (blue-blind)
#E090A3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d98dca;
/* rgb */ color: rgb(217, 141, 202);
/* oklch */ color: oklch(74.0% 0.121 334.1);
Tailwind
colors: {
  custom: {
    50: '#e6afda',
    500: '#d98dca',
    950: '#000000',
  },
}
SCSS
$custom: #d98dca;
$custom-light: #e6afda;
$custom-dark: #000000;
JSON
{
  "hex": "#d98dca",
  "rgb": {
    "r": 217,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 311.842,
    "s": 50,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73983,
    "c": 0.12076,
    "h": 334.1
  },
  "luminance": 0.38066
}

Semantic roles & 50–950 ramp

primary
#D98DCA
secondary
#D6EBDB
accent
#BD4628
background
#FEFAFD
surface
#FCF5FA
border
#D5CFD3
text
#161014
muted
#847F83

Preview Lab

Preview with #D98DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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