#D98DCC#D98DCC

#D98DCC is a light, vivid pink. Relative luminance 0.382; OKLCH L 74.1% C 0.122 H 333.1°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#D98DCC
RGBrgb(217, 141, 204)
HSLhsl(310, 50%, 70%)
HSVhsv(310, 35%, 85%)
CMYKcmyk(0%, 35%, 6%, 14.9%)
CIE-LABlab(68.14, 38.35, -20.61)
CIE-LCHlch(68.14, 43.53, 331.75°)
OKLaboklab(74.06% 0.1092 -0.0555)
OKLCHoklch(74.06% 0.123 333.1)
XYZxyz(49.0387, 38.1634, 61.8982)
Luminance0.3816 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98DCC #8DD99A
analogous
#C08DD9 #D98DCC #D98DA6
triadic
#D98DCC #CCD98D #8DCCD9
tetradic
#D98DCC #D9C08D #8DD99A #8DA6D9
square
#D98DCC #D9C08D #8DD99A #8DA6D9
split-complementary
#D98DCC #A6D98D #8DD9C0
monochromatic
#B13B9D #CA5FB7 #D98DCC #E8BBE1 #F7E8F5

Accessibility & contrast

On white

2.43
#D98DCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#D98DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98DCC
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98DCC#FFFFFF#000000##000000
##D98DCC1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9FCE
Deuteranopia (green-blind)
#9FAACA
Tritanopia (blue-blind)
#E091A4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d98dcc;
/* rgb */ color: rgb(217, 141, 204);
/* oklch */ color: oklch(74.1% 0.122 333.1);
Tailwind
colors: {
  custom: {
    50: '#e6afdb',
    500: '#d98dcc',
    950: '#000000',
  },
}
SCSS
$custom: #d98dcc;
$custom-light: #e6afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d98dcc",
  "rgb": {
    "r": 217,
    "g": 141,
    "b": 204
  },
  "hsl": {
    "h": 310.263,
    "s": 50,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74059,
    "c": 0.1225,
    "h": 333.1
  },
  "luminance": 0.38161
}

Semantic roles & 50–950 ramp

primary
#D98DCC
secondary
#D6EBDA
accent
#BD4228
background
#FEFAFD
surface
#FCF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #D98DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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