#D98FCC#D98FCC

#D98FCC is a light, moderate pink. Relative luminance 0.388; OKLCH L 74.4% C 0.119 H 333.2°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#D98FCC
RGBrgb(217, 143, 204)
HSLhsl(311, 49%, 71%)
HSVhsv(311, 34%, 85%)
CMYKcmyk(0%, 34.1%, 6%, 14.9%)
CIE-LABlab(68.58, 37.28, -19.95)
CIE-LCHlch(68.58, 42.28, 331.85°)
OKLaboklab(74.39% 0.1062 -0.0536)
OKLCHoklch(74.39% 0.119 333.2)
XYZxyz(49.3363, 38.7585, 61.9974)
Luminance0.3876 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FCC #8FD99C
analogous
#C18FD9 #D98FCC #D98FA7
triadic
#D98FCC #CCD98F #8FCCD9
tetradic
#D98FCC #D9C18F #8FD99C #8FA7D9
square
#D98FCC #D9C18F #8FD99C #8FA7D9
split-complementary
#D98FCC #A7D98F #8FD9C1
monochromatic
#B13C9D #C961B7 #D98FCC #E9BDE1 #F7E8F5

Accessibility & contrast

On white

2.40
#D98FCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#D98FCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FCC
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FCC#FFFFFF#000000##000000
##D98FCC1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1CE
Deuteranopia (green-blind)
#A0ABCA
Tritanopia (blue-blind)
#E093A5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d98fcc;
/* rgb */ color: rgb(217, 143, 204);
/* oklch */ color: oklch(74.4% 0.119 333.2);
Tailwind
colors: {
  custom: {
    50: '#e6b1db',
    500: '#d98fcc',
    950: '#000000',
  },
}
SCSS
$custom: #d98fcc;
$custom-light: #e6b1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fcc",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 204
  },
  "hsl": {
    "h": 310.541,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74389,
    "c": 0.11898,
    "h": 333.2
  },
  "luminance": 0.38756
}

Semantic roles & 50–950 ramp

primary
#D98FCC
secondary
#D8ECDB
accent
#BD4329
background
#FEFAFD
surface
#FCF5FB
border
#D5CFD4
text
#161115
muted
#848083

Preview Lab

Preview with #D98FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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