#D98FCB#D98FCB

#D98FCB is a light, moderate pink. Relative luminance 0.387; OKLCH L 74.4% C 0.118 H 333.7°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#D98FCB
RGBrgb(217, 143, 203)
HSLhsl(311, 49%, 71%)
HSVhsv(311, 34%, 85%)
CMYKcmyk(0%, 34.1%, 6.5%, 14.9%)
CIE-LABlab(68.54, 37.11, -19.44)
CIE-LCHlch(68.54, 41.89, 332.34°)
OKLaboklab(74.35% 0.1059 -0.0522)
OKLCHoklch(74.35% 0.118 333.7)
XYZxyz(49.2167, 38.7107, 61.3678)
Luminance0.3871 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FCB #8FD99D
analogous
#C28FD9 #D98FCB #D98FA6
triadic
#D98FCB #CBD98F #8FCBD9
tetradic
#D98FCB #D9C28F #8FD99D #8FA6D9
square
#D98FCB #D9C28F #8FD99D #8FA6D9
split-complementary
#D98FCB #A6D98F #8FD9C2
monochromatic
#B13C9B #C961B6 #D98FCB #E9BDE0 #F7E8F4

Accessibility & contrast

On white

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

On black

8.74
#D98FCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FCB
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FCB#FFFFFF#000000##000000
##D98FCB1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1CD
Deuteranopia (green-blind)
#A1ABC9
Tritanopia (blue-blind)
#E092A5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d98fcb;
/* rgb */ color: rgb(217, 143, 203);
/* oklch */ color: oklch(74.4% 0.118 333.7);
Tailwind
colors: {
  custom: {
    50: '#e6b1db',
    500: '#d98fcb',
    950: '#000000',
  },
}
SCSS
$custom: #d98fcb;
$custom-light: #e6b1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fcb",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 203
  },
  "hsl": {
    "h": 311.351,
    "s": 49.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74351,
    "c": 0.11809,
    "h": 333.7
  },
  "luminance": 0.38708
}

Semantic roles & 50–950 ramp

primary
#D98FCB
secondary
#D8ECDC
accent
#BD4529
background
#FEFAFD
surface
#FCF5FA
border
#D5CFD3
text
#161115
muted
#848083

Preview Lab

Preview with #D98FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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