#D796AC#D796AC

#D796AC is a light, moderate pink. Relative luminance 0.392; OKLCH L 74.3% C 0.083 H 357.3°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#D796AC
RGBrgb(215, 150, 172)
HSLhsl(340, 45%, 72%)
HSVhsv(340, 30%, 84%)
CMYKcmyk(0%, 30.2%, 20%, 15.7%)
CIE-LABlab(68.93, 27.58, -1.61)
CIE-LCHlch(68.93, 27.62, 356.65°)
OKLaboklab(74.28% 0.0827 -0.0039)
OKLCHoklch(74.28% 0.083 357.3)
XYZxyz(46.3776, 39.2408, 44.1531)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D796AC #96D7C1
analogous
#D796CD #D796AC #D7A196
triadic
#D796AC #ACD796 #96ACD7
tetradic
#D796AC #CDD796 #96D7C1 #A196D7
square
#D796AC #CDD796 #96D7C1 #A196D7
split-complementary
#D796AC #96D7A1 #96CDD7
monochromatic
#B04368 #C66A89 #D796AC #E8C2CF #F7E9ED

Accessibility & contrast

On white

2.37
#D796AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#D796AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D796AC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D796AC#FFFFFF#000000##000000
##D796AC1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA1AD
Deuteranopia (green-blind)
#ADACAB
Tritanopia (blue-blind)
#E1939D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d796ac;
/* rgb */ color: rgb(215, 150, 172);
/* oklch */ color: oklch(74.3% 0.083 357.3);
Tailwind
colors: {
  custom: {
    50: '#e4b5c4',
    500: '#d796ac',
    950: '#000000',
  },
}
SCSS
$custom: #d796ac;
$custom-light: #e4b5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d796ac",
  "rgb": {
    "r": 215,
    "g": 150,
    "b": 172
  },
  "hsl": {
    "h": 339.692,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74276,
    "c": 0.08274,
    "h": 357.3
  },
  "luminance": 0.39238
}

Semantic roles & 50–950 ramp

primary
#D796AC
secondary
#DCEDE7
accent
#B8892E
background
#FEFBFC
surface
#FCF6F8
border
#D5D0D1
text
#161112
muted
#848081

Preview Lab

Preview with #D796AC

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

Preview Lab → · Contrast checker → · Palette generator →

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