#D796A5#D796A5

#D796A5 is a light, moderate red. Relative luminance 0.390; OKLCH L 74.1% C 0.080 H 4.1°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#D796A5
RGBrgb(215, 150, 165)
HSLhsl(346, 45%, 72%)
HSVhsv(346, 30%, 84%)
CMYKcmyk(0%, 30.2%, 23.3%, 15.7%)
CIE-LABlab(68.74, 26.53, 2.02)
CIE-LCHlch(68.74, 26.61, 4.35°)
OKLaboklab(74.07% 0.0801 0.0057)
OKLCHoklch(74.07% 0.08 4.1)
XYZxyz(45.7230, 38.9789, 40.7054)
Luminance0.3898 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D796A5 #96D7C8
analogous
#D796C6 #D796A5 #D7A896
triadic
#D796A5 #A5D796 #96A5D7
tetradic
#D796A5 #C6D796 #96D7C8 #A896D7
square
#D796A5 #C6D796 #96D7C8 #A896D7
split-complementary
#D796A5 #96D7A8 #96C6D7
monochromatic
#B0435C #C66A7F #D796A5 #E8C2CB #F7E9EC

Accessibility & contrast

On white

2.39
#D796A5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#D796A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D796A5
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D796A5#FFFFFF#000000##000000
##D796A51.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FA1A5
Deuteranopia (green-blind)
#AFACA4
Tritanopia (blue-blind)
#E2929B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d796a5;
/* rgb */ color: rgb(215, 150, 165);
/* oklch */ color: oklch(74.1% 0.080 4.1);
Tailwind
colors: {
  custom: {
    50: '#e4b5bf',
    500: '#d796a5',
    950: '#000000',
  },
}
SCSS
$custom: #d796a5;
$custom-light: #e4b5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d796a5",
  "rgb": {
    "r": 215,
    "g": 150,
    "b": 165
  },
  "hsl": {
    "h": 346.154,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74068,
    "c": 0.08028,
    "h": 4.1
  },
  "luminance": 0.38976
}

Semantic roles & 50–950 ramp

primary
#D796A5
secondary
#DCEDE9
accent
#B8982E
background
#FEFBFB
surface
#FCF6F7
border
#D5D0D0
text
#161112
muted
#848081

Preview Lab

Preview with #D796A5

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

Preview Lab → · Contrast checker → · Palette generator →

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