#D796CA#D796CA

#D796CA is a light, moderate pink. Relative luminance 0.405; OKLCH L 75.3% C 0.103 H 333.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#D796CA
RGBrgb(215, 150, 202)
HSLhsl(312, 45%, 72%)
HSVhsv(312, 30%, 84%)
CMYKcmyk(0%, 30.2%, 6%, 15.7%)
CIE-LABlab(69.84, 32.51, -16.94)
CIE-LCHlch(69.84, 36.66, 332.48°)
OKLaboklab(75.28% 0.0927 -0.0454)
OKLCHoklch(75.28% 0.103 333.9)
XYZxyz(49.5908, 40.5261, 61.0758)
Luminance0.4052 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D796CA #96D7A3
analogous
#C496D7 #D796CA #D796AA
triadic
#D796CA #CAD796 #96CAD7
tetradic
#D796CA #D7C496 #96D7A3 #96AAD7
square
#D796CA #D7C496 #96D7A3 #96AAD7
split-complementary
#D796CA #AAD796 #96D7C4
monochromatic
#B0439A #C66AB4 #D796CA #E8C2E0 #F7E9F4

Accessibility & contrast

On white

2.31
#D796CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#D796CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D796CA
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D796CA#FFFFFF#000000##000000
##D796CA1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A5CC
Deuteranopia (green-blind)
#A5AEC8
Tritanopia (blue-blind)
#DD99A8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d796ca;
/* rgb */ color: rgb(215, 150, 202);
/* oklch */ color: oklch(75.3% 0.103 333.9);
Tailwind
colors: {
  custom: {
    50: '#e4b5da',
    500: '#d796ca',
    950: '#000000',
  },
}
SCSS
$custom: #d796ca;
$custom-light: #e4b5da;
$custom-dark: #000000;
JSON
{
  "hex": "#d796ca",
  "rgb": {
    "r": 215,
    "g": 150,
    "b": 202
  },
  "hsl": {
    "h": 312,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75281,
    "c": 0.10317,
    "h": 333.9
  },
  "luminance": 0.40524
}

Semantic roles & 50–950 ramp

primary
#D796CA
secondary
#DCEDDF
accent
#B8492E
background
#FEFBFD
surface
#FCF6FA
border
#D5D0D3
text
#161114
muted
#848083

Preview Lab

Preview with #D796CA

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

Preview Lab → · Contrast checker → · Palette generator →

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