#D796CB#D796CB

#D796CB is a light, moderate pink. Relative luminance 0.406; OKLCH L 75.3% C 0.104 H 333.3°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#D796CB
RGBrgb(215, 150, 203)
HSLhsl(311, 45%, 72%)
HSVhsv(311, 30%, 84%)
CMYKcmyk(0%, 30.2%, 5.6%, 15.7%)
CIE-LABlab(69.88, 32.69, -17.44)
CIE-LCHlch(69.88, 37.05, 331.92°)
OKLaboklab(75.32% 0.093 -0.0468)
OKLCHoklch(75.32% 0.104 333.3)
XYZxyz(49.7095, 40.5736, 61.7014)
Luminance0.4057 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D796CB #96D7A2
analogous
#C396D7 #D796CB #D796AB
triadic
#D796CB #CBD796 #96CBD7
tetradic
#D796CB #D7C396 #96D7A2 #96ABD7
square
#D796CB #D7C396 #96D7A2 #96ABD7
split-complementary
#D796CB #ABD796 #96D7C3
monochromatic
#B0439C #C66AB5 #D796CB #E8C2E1 #F7E9F4

Accessibility & contrast

On white

2.30
#D796CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#D796CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D796CB
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D796CB#FFFFFF#000000##000000
##D796CB1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CD
Deuteranopia (green-blind)
#A5AEC9
Tritanopia (blue-blind)
#DD99A9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d796cb;
/* rgb */ color: rgb(215, 150, 203);
/* oklch */ color: oklch(75.3% 0.104 333.3);
Tailwind
colors: {
  custom: {
    50: '#e4b5db',
    500: '#d796cb',
    950: '#000000',
  },
}
SCSS
$custom: #d796cb;
$custom-light: #e4b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d796cb",
  "rgb": {
    "r": 215,
    "g": 150,
    "b": 203
  },
  "hsl": {
    "h": 311.077,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75317,
    "c": 0.10407,
    "h": 333.3
  },
  "luminance": 0.40572
}

Semantic roles & 50–950 ramp

primary
#D796CB
secondary
#DCEDDF
accent
#B8472E
background
#FEFBFD
surface
#FCF6FA
border
#D5D0D3
text
#161115
muted
#848083

Preview Lab

Preview with #D796CB

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

Preview Lab → · Contrast checker → · Palette generator →

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