#D98CCB#D98CCB

#D98CCB is a light, vivid pink. Relative luminance 0.378; OKLCH L 73.9% C 0.123 H 333.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#D98CCB
RGBrgb(217, 140, 203)
HSLhsl(311, 50%, 70%)
HSVhsv(311, 35%, 85%)
CMYKcmyk(0%, 35.5%, 6.5%, 14.9%)
CIE-LABlab(67.89, 38.71, -20.44)
CIE-LCHlch(67.89, 43.77, 332.17°)
OKLaboklab(73.86% 0.1105 -0.055)
OKLCHoklch(73.86% 0.123 333.5)
XYZxyz(48.7724, 37.8220, 61.2197)
Luminance0.3782 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98CCB #8CD99A
analogous
#C08CD9 #D98CCB #D98CA5
triadic
#D98CCB #CBD98C #8CCBD9
tetradic
#D98CCB #D9C08C #8CD99A #8CA5D9
square
#D98CCB #D9C08C #8CD99A #8CA5D9
split-complementary
#D98CCB #A5D98C #8CD9C0
monochromatic
#B03A9B #CA5EB6 #D98CCB #E8BAE0 #F7E8F5

Accessibility & contrast

On white

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

On black

8.56
#D98CCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98CCB
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98CCB#FFFFFF#000000##000000
##D98CCB1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d98ccb;
/* rgb */ color: rgb(217, 140, 203);
/* oklch */ color: oklch(73.9% 0.123 333.5);
Tailwind
colors: {
  custom: {
    50: '#e6afdb',
    500: '#d98ccb',
    950: '#000000',
  },
}
SCSS
$custom: #d98ccb;
$custom-light: #e6afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ccb",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 203
  },
  "hsl": {
    "h": 310.909,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.73857,
    "c": 0.12339,
    "h": 333.5
  },
  "luminance": 0.3782
}

Semantic roles & 50–950 ramp

primary
#D98CCB
secondary
#D6EBDA
accent
#BE4328
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#161015
muted
#847F83

Preview Lab

Preview with #D98CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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