#D797BF#D797BF

#D797BF is a light, moderate pink. Relative luminance 0.403; OKLCH L 75.1% C 0.092 H 341.6°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#D797BF
RGBrgb(215, 151, 191)
HSLhsl(323, 44%, 72%)
HSVhsv(323, 30%, 84%)
CMYKcmyk(0%, 29.8%, 11.2%, 15.7%)
CIE-LABlab(69.71, 30.08, -11.03)
CIE-LCHlch(69.71, 32.04, 339.87°)
OKLaboklab(75.07% 0.0876 -0.0292)
OKLCHoklch(75.07% 0.092 341.6)
XYZxyz(48.4947, 40.3441, 54.5129)
Luminance0.4034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D797BF #97D7AF
analogous
#CF97D7 #D797BF #D7979F
triadic
#D797BF #BFD797 #97BFD7
tetradic
#D797BF #D7CF97 #97D7AF #979FD7
square
#D797BF #D7CF97 #97D7AF #979FD7
split-complementary
#D797BF #9FD797 #97D7CF
monochromatic
#B04487 #C66BA4 #D797BF #E8C3DA #F6E9F1

Accessibility & contrast

On white

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

On black

9.07
#D797BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D797BF
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D797BF#FFFFFF#000000##000000
##D797BF1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA4C1
Deuteranopia (green-blind)
#A9AEBD
Tritanopia (blue-blind)
#DF97A5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d797bf;
/* rgb */ color: rgb(215, 151, 191);
/* oklch */ color: oklch(75.1% 0.092 341.6);
Tailwind
colors: {
  custom: {
    50: '#e4b6d2',
    500: '#d797bf',
    950: '#000000',
  },
}
SCSS
$custom: #d797bf;
$custom-light: #e4b6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d797bf",
  "rgb": {
    "r": 215,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 322.5,
    "s": 44.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75065,
    "c": 0.09236,
    "h": 341.6
  },
  "luminance": 0.40342
}

Semantic roles & 50–950 ramp

primary
#D797BF
secondary
#DDEDE3
accent
#B8622E
background
#FEFBFC
surface
#FCF6F9
border
#D5D0D2
text
#161114
muted
#848082

Preview Lab

Preview with #D797BF

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

Preview Lab → · Contrast checker → · Palette generator →

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