#D98EC0#D98EC0

#D98EC0 is a light, moderate pink. Relative luminance 0.379; OKLCH L 73.8% C 0.111 H 340.1°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#D98EC0
RGBrgb(217, 142, 192)
HSLhsl(320, 50%, 70%)
HSVhsv(320, 35%, 85%)
CMYKcmyk(0%, 34.6%, 11.5%, 14.9%)
CIE-LABlab(67.95, 35.77, -14.21)
CIE-LCHlch(67.95, 38.49, 338.34°)
OKLaboklab(73.78% 0.1042 -0.0378)
OKLCHoklch(73.78% 0.111 340.1)
XYZxyz(47.8027, 37.9059, 54.6576)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98EC0 #8ED9A7
analogous
#CC8ED9 #D98EC0 #D98E9A
triadic
#D98EC0 #C0D98E #8EC0D9
tetradic
#D98EC0 #D9CC8E #8ED9A7 #8E9AD9
square
#D98EC0 #D9CC8E #8ED9A7 #8E9AD9
split-complementary
#D98EC0 #9AD98E #8ED9CC
monochromatic
#B13C8A #CA60A6 #D98EC0 #E8BCDA #F7E8F2

Accessibility & contrast

On white

2.45
#D98EC0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#D98EC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98EC0
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98EC0#FFFFFF#000000##000000
##D98EC01.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#919FC2
Deuteranopia (green-blind)
#A3AABE
Tritanopia (blue-blind)
#E18FA0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d98ec0;
/* rgb */ color: rgb(217, 142, 192);
/* oklch */ color: oklch(73.8% 0.111 340.1);
Tailwind
colors: {
  custom: {
    50: '#e6b0d3',
    500: '#d98ec0',
    950: '#000000',
  },
}
SCSS
$custom: #d98ec0;
$custom-light: #e6b0d3;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ec0",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 192
  },
  "hsl": {
    "h": 320,
    "s": 49.669,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73781,
    "c": 0.11081,
    "h": 340.1
  },
  "luminance": 0.37903
}

Semantic roles & 50–950 ramp

primary
#D98EC0
secondary
#D7ECDE
accent
#BD5A29
background
#FEFAFC
surface
#FCF5F9
border
#D5CFD2
text
#161014
muted
#847F82

Preview Lab

Preview with #D98EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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