#D98CB2#D98CB2

#D98CB2 is a light, moderate pink. Relative luminance 0.367; OKLCH L 73.0% C 0.105 H 349.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#D98CB2
RGBrgb(217, 140, 178)
HSLhsl(330, 50%, 70%)
HSVhsv(330, 35%, 85%)
CMYKcmyk(0%, 35.5%, 18%, 14.9%)
CIE-LABlab(67.07, 34.59, -7.68)
CIE-LCHlch(67.07, 35.43, 347.47°)
OKLaboklab(72.97% 0.1028 -0.02)
OKLCHoklch(72.97% 0.105 349)
XYZxyz(46.0297, 36.7249, 46.7750)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98CB2 #8CD9B3
analogous
#D98CD8 #D98CB2 #D98D8C
triadic
#D98CB2 #B2D98C #8CB2D9
tetradic
#D98CB2 #D8D98C #8CD9B3 #8D8CD9
square
#D98CB2 #D8D98C #8CD9B3 #8D8CD9
split-complementary
#D98CB2 #8CD98D #8CD8D9
monochromatic
#B03A75 #CA5E93 #D98CB2 #E8BAD1 #F7E8F0

Accessibility & contrast

On white

2.52
#D98CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#D98CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98CB2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98CB2#FFFFFF#000000##000000
##D98CB21.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#939BB3
Deuteranopia (green-blind)
#A6A8B0
Tritanopia (blue-blind)
#E38A99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d98cb2;
/* rgb */ color: rgb(217, 140, 178);
/* oklch */ color: oklch(73.0% 0.105 349.0);
Tailwind
colors: {
  custom: {
    50: '#e6aec9',
    500: '#d98cb2',
    950: '#000000',
  },
}
SCSS
$custom: #d98cb2;
$custom-light: #e6aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#d98cb2",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 330.39,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.72965,
    "c": 0.10473,
    "h": 349
  },
  "luminance": 0.36722
}

Semantic roles & 50–950 ramp

primary
#D98CB2
secondary
#D6EBE1
accent
#BE7428
background
#FEFAFC
surface
#FCF4F8
border
#D5CED1
text
#161013
muted
#847F82

Preview Lab

Preview with #D98CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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