#D98ECB#D98ECB

#D98ECB is a light, moderate pink. Relative luminance 0.384; OKLCH L 74.2% C 0.120 H 333.7°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#D98ECB
RGBrgb(217, 142, 203)
HSLhsl(311, 50%, 70%)
HSVhsv(311, 35%, 85%)
CMYKcmyk(0%, 34.6%, 6.5%, 14.9%)
CIE-LABlab(68.32, 37.64, -19.78)
CIE-LCHlch(68.32, 42.52, 332.28°)
OKLaboklab(74.19% 0.1074 -0.0531)
OKLCHoklch(74.19% 0.12 333.7)
XYZxyz(49.0673, 38.4118, 61.3180)
Luminance0.3841 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98ECB #8ED99C
analogous
#C18ED9 #D98ECB #D98EA5
triadic
#D98ECB #CBD98E #8ECBD9
tetradic
#D98ECB #D9C18E #8ED99C #8EA5D9
square
#D98ECB #D9C18E #8ED99C #8EA5D9
split-complementary
#D98ECB #A5D98E #8ED9C1
monochromatic
#B13C9B #CA60B6 #D98ECB #E8BCE0 #F7E8F4

Accessibility & contrast

On white

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

On black

8.68
#D98ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98ECB
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98ECB#FFFFFF#000000##000000
##D98ECB1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d98ecb;
/* rgb */ color: rgb(217, 142, 203);
/* oklch */ color: oklch(74.2% 0.120 333.7);
Tailwind
colors: {
  custom: {
    50: '#e6b0db',
    500: '#d98ecb',
    950: '#000000',
  },
}
SCSS
$custom: #d98ecb;
$custom-light: #e6b0db;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ecb",
  "rgb": {
    "r": 217,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 311.2,
    "s": 49.669,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74186,
    "c": 0.11986,
    "h": 333.7
  },
  "luminance": 0.3841
}

Semantic roles & 50–950 ramp

primary
#D98ECB
secondary
#D7ECDB
accent
#BD4429
background
#FEFAFD
surface
#FCF5FA
border
#D5CFD3
text
#161015
muted
#847F83

Preview Lab

Preview with #D98ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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