#D796BB#D796BB

#D796BB is a light, moderate pink. Relative luminance 0.398; OKLCH L 74.8% C 0.091 H 344.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#D796BB
RGBrgb(215, 150, 187)
HSLhsl(326, 45%, 72%)
HSVhsv(326, 30%, 84%)
CMYKcmyk(0%, 30.2%, 13%, 15.7%)
CIE-LABlab(69.36, 29.95, -9.33)
CIE-LCHlch(69.36, 31.37, 342.70°)
OKLaboklab(74.76% 0.0879 -0.0245)
OKLCHoklch(74.76% 0.091 344.4)
XYZxyz(47.9003, 39.8499, 52.1728)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D796BB #96D7B2
analogous
#D396D7 #D796BB #D7969B
triadic
#D796BB #BBD796 #96BBD7
tetradic
#D796BB #D7D396 #96D7B2 #969BD7
square
#D796BB #D7D396 #96D7B2 #969BD7
split-complementary
#D796BB #9BD796 #96D7D3
monochromatic
#B04381 #C66A9E #D796BB #E8C2D8 #F7E9F1

Accessibility & contrast

On white

2.34
#D796BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#D796BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D796BB
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D796BB#FFFFFF#000000##000000
##D796BB1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA3BC
Deuteranopia (green-blind)
#A9ADB9
Tritanopia (blue-blind)
#DF96A3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d796bb;
/* rgb */ color: rgb(215, 150, 187);
/* oklch */ color: oklch(74.8% 0.091 344.4);
Tailwind
colors: {
  custom: {
    50: '#e4b5cf',
    500: '#d796bb',
    950: '#000000',
  },
}
SCSS
$custom: #d796bb;
$custom-light: #e4b5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d796bb",
  "rgb": {
    "r": 215,
    "g": 150,
    "b": 187
  },
  "hsl": {
    "h": 325.846,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74756,
    "c": 0.09124,
    "h": 344.4
  },
  "luminance": 0.39848
}

Semantic roles & 50–950 ramp

primary
#D796BB
secondary
#DCEDE3
accent
#B8692E
background
#FEFBFC
surface
#FCF6F9
border
#D5D0D2
text
#161113
muted
#848082

Preview Lab

Preview with #D796BB

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

Preview Lab → · Contrast checker → · Palette generator →

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