#D98FCA#D98FCA

#D98FCA is a light, moderate pink. Relative luminance 0.387; OKLCH L 74.3% C 0.117 H 334.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#D98FCA
RGBrgb(217, 143, 202)
HSLhsl(312, 49%, 71%)
HSVhsv(312, 34%, 85%)
CMYKcmyk(0%, 34.1%, 6.9%, 14.9%)
CIE-LABlab(68.51, 36.93, -18.94)
CIE-LCHlch(68.51, 41.51, 332.85°)
OKLaboklab(74.31% 0.1056 -0.0508)
OKLCHoklch(74.31% 0.117 334.3)
XYZxyz(49.0980, 38.6632, 60.7422)
Luminance0.3866 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FCA #8FD99E
analogous
#C38FD9 #D98FCA #D98FA5
triadic
#D98FCA #CAD98F #8FCAD9
tetradic
#D98FCA #D9C38F #8FD99E #8FA5D9
square
#D98FCA #D9C38F #8FD99E #8FA5D9
split-complementary
#D98FCA #A5D98F #8FD9C3
monochromatic
#B13C9A #C961B4 #D98FCA #E9BDE0 #F7E8F4

Accessibility & contrast

On white

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

On black

8.73
#D98FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FCA
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FCA#FFFFFF#000000##000000
##D98FCA1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA1CC
Deuteranopia (green-blind)
#A1ABC8
Tritanopia (blue-blind)
#E092A4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d98fca;
/* rgb */ color: rgb(217, 143, 202);
/* oklch */ color: oklch(74.3% 0.117 334.3);
Tailwind
colors: {
  custom: {
    50: '#e6b1da',
    500: '#d98fca',
    950: '#000000',
  },
}
SCSS
$custom: #d98fca;
$custom-light: #e6b1da;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fca",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 312.162,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74313,
    "c": 0.11723,
    "h": 334.3
  },
  "luminance": 0.38661
}

Semantic roles & 50–950 ramp

primary
#D98FCA
secondary
#D8ECDC
accent
#BD4729
background
#FEFAFD
surface
#FCF5FA
border
#D5CFD3
text
#161114
muted
#848083

Preview Lab

Preview with #D98FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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