#D98CCC#D98CCC

#D98CCC is a light, vivid pink. Relative luminance 0.379; OKLCH L 73.9% C 0.124 H 333.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#D98CCC
RGBrgb(217, 140, 204)
HSLhsl(310, 50%, 70%)
HSVhsv(310, 35%, 85%)
CMYKcmyk(0%, 35.5%, 6%, 14.9%)
CIE-LABlab(67.92, 38.88, -20.94)
CIE-LCHlch(67.92, 44.16, 331.70°)
OKLaboklab(73.9% 0.1108 -0.0564)
OKLCHoklch(73.9% 0.124 333)
XYZxyz(48.8920, 37.8698, 61.8493)
Luminance0.3787 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98CCC #8CD999
analogous
#C08CD9 #D98CCC #D98CA5
triadic
#D98CCC #CCD98C #8CCCD9
tetradic
#D98CCC #D9C08C #8CD999 #8CA5D9
square
#D98CCC #D9C08C #8CD999 #8CA5D9
split-complementary
#D98CCC #A5D98C #8CD9C0
monochromatic
#B03A9C #CA5EB8 #D98CCC #E8BAE0 #F7E8F5

Accessibility & contrast

On white

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

On black

8.57
#D98CCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98CCC
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98CCC#FFFFFF#000000##000000
##D98CCC1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCE
Deuteranopia (green-blind)
#9EA9CA
Tritanopia (blue-blind)
#E090A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d98ccc;
/* rgb */ color: rgb(217, 140, 204);
/* oklch */ color: oklch(73.9% 0.124 333.0);
Tailwind
colors: {
  custom: {
    50: '#e6afdb',
    500: '#d98ccc',
    950: '#000000',
  },
}
SCSS
$custom: #d98ccc;
$custom-light: #e6afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ccc",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 204
  },
  "hsl": {
    "h": 310.13,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.73895,
    "c": 0.12427,
    "h": 333
  },
  "luminance": 0.37868
}

Semantic roles & 50–950 ramp

primary
#D98CCC
secondary
#D6EBD9
accent
#BE4128
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D98CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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