#D796A1#D796A1

#D796A1 is a light, moderate red. Relative luminance 0.388; OKLCH L 74.0% C 0.079 H 8.0°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#D796A1
RGBrgb(215, 150, 161)
HSLhsl(350, 45%, 72%)
HSVhsv(350, 30%, 84%)
CMYKcmyk(0%, 30.2%, 25.1%, 15.7%)
CIE-LABlab(68.63, 25.95, 4.10)
CIE-LCHlch(68.63, 26.28, 8.98°)
OKLaboklab(73.95% 0.0786 0.0111)
OKLCHoklch(73.95% 0.079 8)
XYZxyz(45.3646, 38.8356, 38.8179)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D796A1 #96D7CC
analogous
#D796C2 #D796A1 #D7AC96
triadic
#D796A1 #A1D796 #96A1D7
tetradic
#D796A1 #C2D796 #96D7CC #AC96D7
square
#D796A1 #C2D796 #96D7CC #AC96D7
split-complementary
#D796A1 #96D7AC #96C2D7
monochromatic
#B04355 #C66A79 #D796A1 #E8C2C9 #F7E9EB

Accessibility & contrast

On white

2.40
#D796A1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#D796A1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D796A1
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D796A1#FFFFFF#000000##000000
##D796A11.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A0A1
Deuteranopia (green-blind)
#AFACA0
Tritanopia (blue-blind)
#E3919A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d796a1;
/* rgb */ color: rgb(215, 150, 161);
/* oklch */ color: oklch(74.0% 0.079 8.0);
Tailwind
colors: {
  custom: {
    50: '#e4b5bc',
    500: '#d796a1',
    950: '#000000',
  },
}
SCSS
$custom: #d796a1;
$custom-light: #e4b5bc;
$custom-dark: #000000;
JSON
{
  "hex": "#d796a1",
  "rgb": {
    "r": 215,
    "g": 150,
    "b": 161
  },
  "hsl": {
    "h": 349.846,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73954,
    "c": 0.07936,
    "h": 8
  },
  "luminance": 0.38833
}

Semantic roles & 50–950 ramp

primary
#D796A1
secondary
#DCEDEA
accent
#B8A12E
background
#FEFBFB
surface
#FCF6F6
border
#D5D0D0
text
#161112
muted
#848081

Preview Lab

Preview with #D796A1

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

Preview Lab → · Contrast checker → · Palette generator →

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