#D798BB#D798BB

#D798BB is a light, moderate pink. Relative luminance 0.405; OKLCH L 75.1% C 0.088 H 345.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#D798BB
RGBrgb(215, 152, 187)
HSLhsl(327, 44%, 72%)
HSVhsv(327, 29%, 84%)
CMYKcmyk(0%, 29.3%, 13%, 15.7%)
CIE-LABlab(69.82, 28.87, -8.65)
CIE-LCHlch(69.82, 30.14, 343.33°)
OKLaboklab(75.11% 0.0848 -0.0227)
OKLCHoklch(75.11% 0.088 345)
XYZxyz(48.2222, 40.4936, 52.2801)
Luminance0.4049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D798BB #98D7B4
analogous
#D498D7 #D798BB #D7989C
triadic
#D798BB #BBD798 #98BBD7
tetradic
#D798BB #D7D498 #98D7B4 #989CD7
square
#D798BB #D7D498 #98D7B4 #989CD7
split-complementary
#D798BB #9CD798 #98D7D4
monochromatic
#B04480 #C66C9E #D798BB #E8C4D8 #F6E9F0

Accessibility & contrast

On white

2.31
#D798BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#D798BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D798BB
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D798BB#FFFFFF#000000##000000
##D798BB1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA5BC
Deuteranopia (green-blind)
#ABAEB9
Tritanopia (blue-blind)
#DF98A4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d798bb;
/* rgb */ color: rgb(215, 152, 187);
/* oklch */ color: oklch(75.1% 0.088 345.0);
Tailwind
colors: {
  custom: {
    50: '#e4b7cf',
    500: '#d798bb',
    950: '#000000',
  },
}
SCSS
$custom: #d798bb;
$custom-light: #e4b7cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d798bb",
  "rgb": {
    "r": 215,
    "g": 152,
    "b": 187
  },
  "hsl": {
    "h": 326.667,
    "s": 44.056,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75106,
    "c": 0.08774,
    "h": 345
  },
  "luminance": 0.40491
}

Semantic roles & 50–950 ramp

primary
#D798BB
secondary
#DEEDE5
accent
#B76B2E
background
#FEFBFC
surface
#FCF6F9
border
#D5D0D2
text
#161113
muted
#848082

Preview Lab

Preview with #D798BB

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

Preview Lab → · Contrast checker → · Palette generator →

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