#D797BE#D797BE

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

Color values

HEX#D797BE
RGBrgb(215, 151, 190)
HSLhsl(323, 44%, 72%)
HSVhsv(323, 30%, 84%)
CMYKcmyk(0%, 29.8%, 11.6%, 15.7%)
CIE-LABlab(69.68, 29.91, -10.52)
CIE-LCHlch(69.68, 31.71, 340.63°)
OKLaboklab(75.03% 0.0873 -0.0278)
OKLCHoklch(75.03% 0.092 342.4)
XYZxyz(48.3851, 40.3002, 53.9353)
Luminance0.4030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D797BE #97D7B0
analogous
#D097D7 #D797BE #D7979E
triadic
#D797BE #BED797 #97BED7
tetradic
#D797BE #D7D097 #97D7B0 #979ED7
square
#D797BE #D7D097 #97D7B0 #979ED7
split-complementary
#D797BE #9ED797 #97D7D0
monochromatic
#B04486 #C66BA2 #D797BE #E8C3DA #F6E9F1

Accessibility & contrast

On white

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

On black

9.06
#D797BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D797BE
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D797BE#FFFFFF#000000##000000
##D797BE1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA4C0
Deuteranopia (green-blind)
#A9AEBC
Tritanopia (blue-blind)
#DF97A4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d797be;
/* rgb */ color: rgb(215, 151, 190);
/* oklch */ color: oklch(75.0% 0.092 342.4);
Tailwind
colors: {
  custom: {
    50: '#e4b6d1',
    500: '#d797be',
    950: '#000000',
  },
}
SCSS
$custom: #d797be;
$custom-light: #e4b6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#d797be",
  "rgb": {
    "r": 215,
    "g": 151,
    "b": 190
  },
  "hsl": {
    "h": 323.438,
    "s": 44.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75031,
    "c": 0.09162,
    "h": 342.4
  },
  "luminance": 0.40298
}

Semantic roles & 50–950 ramp

primary
#D797BE
secondary
#DDEDE3
accent
#B8642E
background
#FEFBFC
surface
#FCF6F9
border
#D5D0D2
text
#161114
muted
#848082

Preview Lab

Preview with #D797BE

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

Preview Lab → · Contrast checker → · Palette generator →

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