#D798BC#D798BC

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

Color values

HEX#D798BC
RGBrgb(215, 152, 188)
HSLhsl(326, 44%, 72%)
HSVhsv(326, 29%, 84%)
CMYKcmyk(0%, 29.3%, 12.6%, 15.7%)
CIE-LABlab(69.85, 29.04, -9.16)
CIE-LCHlch(69.85, 30.45, 342.50°)
OKLaboklab(75.14% 0.0851 -0.0241)
OKLCHoklch(75.14% 0.088 344.2)
XYZxyz(48.3296, 40.5366, 52.8458)
Luminance0.4053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D798BC #98D7B3
analogous
#D398D7 #D798BC #D7989D
triadic
#D798BC #BCD798 #98BCD7
tetradic
#D798BC #D7D398 #98D7B3 #989DD7
square
#D798BC #D7D398 #98D7B3 #989DD7
split-complementary
#D798BC #9DD798 #98D7D3
monochromatic
#B04482 #C66C9F #D798BC #E8C4D9 #F6E9F1

Accessibility & contrast

On white

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

On black

9.11
#D798BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D798BC
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D798BC#FFFFFF#000000##000000
##D798BC1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d798bc;
/* rgb */ color: rgb(215, 152, 188);
/* oklch */ color: oklch(75.1% 0.088 344.2);
Tailwind
colors: {
  custom: {
    50: '#e4b7d0',
    500: '#d798bc',
    950: '#000000',
  },
}
SCSS
$custom: #d798bc;
$custom-light: #e4b7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d798bc",
  "rgb": {
    "r": 215,
    "g": 152,
    "b": 188
  },
  "hsl": {
    "h": 325.714,
    "s": 44.056,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75139,
    "c": 0.08843,
    "h": 344.2
  },
  "luminance": 0.40534
}

Semantic roles & 50–950 ramp

primary
#D798BC
secondary
#DEEDE4
accent
#B7692E
background
#FEFBFC
surface
#FCF6F9
border
#D5D0D2
text
#161114
muted
#848082

Preview Lab

Preview with #D798BC

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

Preview Lab → · Contrast checker → · Palette generator →

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