#D797AE#D797AE

#D797AE is a light, moderate pink. Relative luminance 0.396; OKLCH L 74.5% C 0.082 H 356.0°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#D797AE
RGBrgb(215, 151, 174)
HSLhsl(338, 44%, 72%)
HSVhsv(338, 30%, 84%)
CMYKcmyk(0%, 29.8%, 19.1%, 15.7%)
CIE-LABlab(69.21, 27.34, -2.31)
CIE-LCHlch(69.21, 27.44, 355.18°)
OKLaboklab(74.51% 0.0818 -0.0057)
OKLCHoklch(74.51% 0.082 356)
XYZxyz(46.7314, 39.6387, 45.2257)
Luminance0.3964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D797AE #97D7C0
analogous
#D797CE #D797AE #D7A097
triadic
#D797AE #AED797 #97AED7
tetradic
#D797AE #CED797 #97D7C0 #A097D7
square
#D797AE #CED797 #97D7C0 #A097D7
split-complementary
#D797AE #97D7A0 #97CED7
monochromatic
#B0446B #C66B8C #D797AE #E8C3D0 #F6E9EE

Accessibility & contrast

On white

2.35
#D797AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#D797AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D797AE
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D797AE#FFFFFF#000000##000000
##D797AE1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA2AF
Deuteranopia (green-blind)
#ADADAD
Tritanopia (blue-blind)
#E1949F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d797ae;
/* rgb */ color: rgb(215, 151, 174);
/* oklch */ color: oklch(74.5% 0.082 356.0);
Tailwind
colors: {
  custom: {
    50: '#e4b6c6',
    500: '#d797ae',
    950: '#000000',
  },
}
SCSS
$custom: #d797ae;
$custom-light: #e4b6c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d797ae",
  "rgb": {
    "r": 215,
    "g": 151,
    "b": 174
  },
  "hsl": {
    "h": 338.438,
    "s": 44.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74514,
    "c": 0.08199,
    "h": 356
  },
  "luminance": 0.39636
}

Semantic roles & 50–950 ramp

primary
#D797AE
secondary
#DDEDE7
accent
#B8862E
background
#FEFBFC
surface
#FCF6F8
border
#D5D0D1
text
#161113
muted
#848082

Preview Lab

Preview with #D797AE

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

Preview Lab → · Contrast checker → · Palette generator →

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