#D98ECA#D98ECA

#D98ECA is a light, moderate pink. Relative luminance 0.384; OKLCH L 74.1% C 0.119 H 334.2°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#D98ECA
RGBrgb(217, 142, 202)
HSLhsl(312, 50%, 70%)
HSVhsv(312, 35%, 85%)
CMYKcmyk(0%, 34.6%, 6.9%, 14.9%)
CIE-LABlab(68.29, 37.47, -19.27)
CIE-LCHlch(68.29, 42.13, 332.78°)
OKLaboklab(74.15% 0.1072 -0.0517)
OKLCHoklch(74.15% 0.119 334.2)
XYZxyz(48.9485, 38.3643, 60.6924)
Luminance0.3836 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98ECA #8ED99D
analogous
#C28ED9 #D98ECA #D98EA4
triadic
#D98ECA #CAD98E #8ECAD9
tetradic
#D98ECA #D9C28E #8ED99D #8EA4D9
square
#D98ECA #D9C28E #8ED99D #8EA4D9
split-complementary
#D98ECA #A4D98E #8ED9C2
monochromatic
#B13C9A #CA60B5 #D98ECA #E8BCDF #F7E8F4

Accessibility & contrast

On white

2.42
#D98ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#D98ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98ECA
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98ECA#FFFFFF#000000##000000
##D98ECA1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA0CC
Deuteranopia (green-blind)
#A0AAC8
Tritanopia (blue-blind)
#E091A4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d98eca;
/* rgb */ color: rgb(217, 142, 202);
/* oklch */ color: oklch(74.1% 0.119 334.2);
Tailwind
colors: {
  custom: {
    50: '#e6b0da',
    500: '#d98eca',
    950: '#000000',
  },
}
SCSS
$custom: #d98eca;
$custom-light: #e6b0da;
$custom-dark: #000000;
JSON
{
  "hex": "#d98eca",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 312,
    "s": 49.669,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74148,
    "c": 0.11899,
    "h": 334.2
  },
  "luminance": 0.38362
}

Semantic roles & 50–950 ramp

primary
#D98ECA
secondary
#D7ECDB
accent
#BD4629
background
#FEFAFD
surface
#FCF5FA
border
#D5CFD3
text
#161014
muted
#847F83

Preview Lab

Preview with #D98ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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