#D998CA#D998CA

#D998CA is a light, moderate pink. Relative luminance 0.415; OKLCH L 75.8% C 0.101 H 335.2°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#D998CA
RGBrgb(217, 152, 202)
HSLhsl(314, 46%, 72%)
HSVhsv(314, 30%, 85%)
CMYKcmyk(0%, 30%, 6.9%, 14.9%)
CIE-LABlab(70.51, 32.10, -15.91)
CIE-LCHlch(70.51, 35.83, 333.63°)
OKLaboklab(75.83% 0.0919 -0.0425)
OKLCHoklch(75.83% 0.101 335.2)
XYZxyz(50.5036, 41.4745, 61.2108)
Luminance0.4147 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D998CA #98D9A7
analogous
#C798D9 #D998CA #D998AA
triadic
#D998CA #CAD998 #98CAD9
tetradic
#D998CA #D9C798 #98D9A7 #98AAD9
square
#D998CA #D9C798 #98D9A7 #98AAD9
split-complementary
#D998CA #AAD998 #98D9C7
monochromatic
#B4429A #C96BB3 #D998CA #E9C5E1 #F7E9F3

Accessibility & contrast

On white

2.26
#D998CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#D998CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D998CA
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D998CA#FFFFFF#000000##000000
##D998CA1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A7CC
Deuteranopia (green-blind)
#A8B0C8
Tritanopia (blue-blind)
#DF9AAA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d998ca;
/* rgb */ color: rgb(217, 152, 202);
/* oklch */ color: oklch(75.8% 0.101 335.2);
Tailwind
colors: {
  custom: {
    50: '#e5b7da',
    500: '#d998ca',
    950: '#000000',
  },
}
SCSS
$custom: #d998ca;
$custom-light: #e5b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#d998ca",
  "rgb": {
    "r": 217,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 313.846,
    "s": 46.099,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75835,
    "c": 0.10124,
    "h": 335.2
  },
  "luminance": 0.41472
}

Semantic roles & 50–950 ramp

primary
#D998CA
secondary
#DDEEE1
accent
#B94D2C
background
#FEFBFD
surface
#FCF6FA
border
#D5D0D3
text
#161114
muted
#848083

Preview Lab

Preview with #D998CA

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

Preview Lab → · Contrast checker → · Palette generator →

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