#D98FC2#D98FC2

#D98FC2 is a light, moderate pink. Relative luminance 0.383; OKLCH L 74.0% C 0.111 H 339.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#D98FC2
RGBrgb(217, 143, 194)
HSLhsl(319, 49%, 71%)
HSVhsv(319, 34%, 85%)
CMYKcmyk(0%, 34.1%, 10.6%, 14.9%)
CIE-LABlab(68.24, 35.57, -14.89)
CIE-LCHlch(68.24, 38.56, 337.28°)
OKLaboklab(74.02% 0.1033 -0.0396)
OKLCHoklch(74.02% 0.111 339)
XYZxyz(48.1752, 38.2941, 55.8824)
Luminance0.3829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FC2 #8FD9A6
analogous
#CB8FD9 #D98FC2 #D98F9D
triadic
#D98FC2 #C2D98F #8FC2D9
tetradic
#D98FC2 #D9CB8F #8FD9A6 #8F9DD9
square
#D98FC2 #D9CB8F #8FD9A6 #8F9DD9
split-complementary
#D98FC2 #9DD98F #8FD9CB
monochromatic
#B13C8D #C961A9 #D98FC2 #E9BDDB #F7E8F3

Accessibility & contrast

On white

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

On black

8.66
#D98FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FC2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FC2#FFFFFF#000000##000000
##D98FC21.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#919FC4
Deuteranopia (green-blind)
#A3ABC0
Tritanopia (blue-blind)
#E190A1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d98fc2;
/* rgb */ color: rgb(217, 143, 194);
/* oklch */ color: oklch(74.0% 0.111 339.0);
Tailwind
colors: {
  custom: {
    50: '#e6b1d4',
    500: '#d98fc2',
    950: '#000000',
  },
}
SCSS
$custom: #d98fc2;
$custom-light: #e6b1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fc2",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 194
  },
  "hsl": {
    "h": 318.649,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74019,
    "c": 0.1106,
    "h": 339
  },
  "luminance": 0.38292
}

Semantic roles & 50–950 ramp

primary
#D98FC2
secondary
#D8ECDE
accent
#BD5729
background
#FEFAFD
surface
#FCF5FA
border
#D5CFD3
text
#161114
muted
#848083

Preview Lab

Preview with #D98FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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