#D796B3#D796B3

#D796B3 is a light, moderate pink. Relative luminance 0.395; OKLCH L 74.5% C 0.086 H 351.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#D796B3
RGBrgb(215, 150, 179)
HSLhsl(333, 45%, 72%)
HSVhsv(333, 30%, 84%)
CMYKcmyk(0%, 30.2%, 16.7%, 15.7%)
CIE-LABlab(69.12, 28.66, -5.22)
CIE-LCHlch(69.12, 29.14, 349.67°)
OKLaboklab(74.49% 0.0851 -0.0135)
OKLCHoklch(74.49% 0.086 351)
XYZxyz(47.0676, 39.5168, 47.7874)
Luminance0.3951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D796B3 #96D7BA
analogous
#D796D4 #D796B3 #D79A96
triadic
#D796B3 #B3D796 #96B3D7
tetradic
#D796B3 #D4D796 #96D7BA #9A96D7
square
#D796B3 #D4D796 #96D7BA #9A96D7
split-complementary
#D796B3 #96D79A #96D4D7
monochromatic
#B04373 #C66A93 #D796B3 #E8C2D3 #F7E9EF

Accessibility & contrast

On white

2.36
#D796B3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#D796B3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D796B3
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D796B3#FFFFFF#000000##000000
##D796B31.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA2B4
Deuteranopia (green-blind)
#ABADB1
Tritanopia (blue-blind)
#E194A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d796b3;
/* rgb */ color: rgb(215, 150, 179);
/* oklch */ color: oklch(74.5% 0.086 351.0);
Tailwind
colors: {
  custom: {
    50: '#e4b5c9',
    500: '#d796b3',
    950: '#000000',
  },
}
SCSS
$custom: #d796b3;
$custom-light: #e4b5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d796b3",
  "rgb": {
    "r": 215,
    "g": 150,
    "b": 179
  },
  "hsl": {
    "h": 333.231,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74494,
    "c": 0.0862,
    "h": 351
  },
  "luminance": 0.39514
}

Semantic roles & 50–950 ramp

primary
#D796B3
secondary
#DCEDE5
accent
#B87A2E
background
#FEFBFC
surface
#FCF6F8
border
#D5D0D1
text
#161113
muted
#848082

Preview Lab

Preview with #D796B3

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

Preview Lab → · Contrast checker → · Palette generator →

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