#D797BB#D797BB

#D797BB is a light, moderate pink. Relative luminance 0.402; OKLCH L 74.9% C 0.089 H 344.7°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#D797BB
RGBrgb(215, 151, 187)
HSLhsl(326, 44%, 72%)
HSVhsv(326, 30%, 84%)
CMYKcmyk(0%, 29.8%, 13%, 15.7%)
CIE-LABlab(69.59, 29.41, -8.99)
CIE-LCHlch(69.59, 30.76, 343.01°)
OKLaboklab(74.93% 0.0863 -0.0236)
OKLCHoklch(74.93% 0.089 344.7)
XYZxyz(48.0606, 40.1704, 52.2262)
Luminance0.4017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D797BB #97D7B3
analogous
#D397D7 #D797BB #D7979B
triadic
#D797BB #BBD797 #97BBD7
tetradic
#D797BB #D7D397 #97D7B3 #979BD7
square
#D797BB #D7D397 #97D7B3 #979BD7
split-complementary
#D797BB #9BD797 #97D7D3
monochromatic
#B04481 #C66B9E #D797BB #E8C3D8 #F6E9F1

Accessibility & contrast

On white

2.32
#D797BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#D797BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D797BB
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D797BB#FFFFFF#000000##000000
##D797BB1.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA4BC
Deuteranopia (green-blind)
#AAAEB9
Tritanopia (blue-blind)
#DF97A3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d797bb;
/* rgb */ color: rgb(215, 151, 187);
/* oklch */ color: oklch(74.9% 0.089 344.7);
Tailwind
colors: {
  custom: {
    50: '#e4b6cf',
    500: '#d797bb',
    950: '#000000',
  },
}
SCSS
$custom: #d797bb;
$custom-light: #e4b6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d797bb",
  "rgb": {
    "r": 215,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 326.25,
    "s": 44.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7493,
    "c": 0.08948,
    "h": 344.7
  },
  "luminance": 0.40168
}

Semantic roles & 50–950 ramp

primary
#D797BB
secondary
#DDEDE4
accent
#B86A2E
background
#FEFBFC
surface
#FCF6F9
border
#D5D0D2
text
#161113
muted
#848082

Preview Lab

Preview with #D797BB

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

Preview Lab → · Contrast checker → · Palette generator →

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