#D798BF#D798BF

#D798BF is a light, moderate pink. Relative luminance 0.407; OKLCH L 75.2% C 0.091 H 341.8°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#D798BF
RGBrgb(215, 152, 191)
HSLhsl(323, 44%, 72%)
HSVhsv(323, 29%, 84%)
CMYKcmyk(0%, 29.3%, 11.2%, 15.7%)
CIE-LABlab(69.94, 29.54, -10.69)
CIE-LCHlch(69.94, 31.41, 340.11°)
OKLaboklab(75.24% 0.0861 -0.0282)
OKLCHoklch(75.24% 0.091 341.8)
XYZxyz(48.6564, 40.6673, 54.5667)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D798BF #98D7B0
analogous
#D098D7 #D798BF #D798A0
triadic
#D798BF #BFD798 #98BFD7
tetradic
#D798BF #D7D098 #98D7B0 #98A0D7
square
#D798BF #D7D098 #98D7B0 #98A0D7
split-complementary
#D798BF #A0D798 #98D7D0
monochromatic
#B04487 #C66CA4 #D798BF #E8C4DA #F6E9F1

Accessibility & contrast

On white

2.30
#D798BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#D798BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D798BF
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D798BF#FFFFFF#000000##000000
##D798BF1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA5C1
Deuteranopia (green-blind)
#AAAFBD
Tritanopia (blue-blind)
#DF98A5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d798bf;
/* rgb */ color: rgb(215, 152, 191);
/* oklch */ color: oklch(75.2% 0.091 341.8);
Tailwind
colors: {
  custom: {
    50: '#e4b7d2',
    500: '#d798bf',
    950: '#000000',
  },
}
SCSS
$custom: #d798bf;
$custom-light: #e4b7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d798bf",
  "rgb": {
    "r": 215,
    "g": 152,
    "b": 191
  },
  "hsl": {
    "h": 322.857,
    "s": 44.056,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7524,
    "c": 0.0906,
    "h": 341.8
  },
  "luminance": 0.40665
}

Semantic roles & 50–950 ramp

primary
#D798BF
secondary
#DEEDE4
accent
#B7622E
background
#FEFBFC
surface
#FCF6F9
border
#D5D0D2
text
#161114
muted
#848082

Preview Lab

Preview with #D798BF

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

Preview Lab → · Contrast checker → · Palette generator →

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