#E796D2#E796D2

#E796D2 is a light, vivid pink. Relative luminance 0.435; OKLCH L 77.3% C 0.123 H 336.8°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#E796D2
RGBrgb(231, 150, 210)
HSLhsl(316, 63%, 75%)
HSVhsv(316, 35%, 91%)
CMYKcmyk(0%, 35.1%, 9.1%, 9.4%)
CIE-LABlab(71.86, 39.17, -18.13)
CIE-LCHlch(71.86, 43.17, 335.16°)
OKLaboklab(77.3% 0.1131 -0.0485)
OKLCHoklch(77.3% 0.123 336.8)
XYZxyz(55.4940, 43.4575, 66.4254)
Luminance0.4345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796D2 #96E7AB
analogous
#D496E7 #E796D2 #E796A9
triadic
#E796D2 #D2E796 #96D2E7
tetradic
#E796D2 #E7D496 #96E7AB #96A9E7
square
#E796D2 #E7D496 #96E7AB #96A9E7
split-complementary
#E796D2 #A9E796 #96E7D4
monochromatic
#D032A7 #DC64BD #E796D2 #F2C8E7 #F9E6F4

Accessibility & contrast

On white

2.17
#E796D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#E796D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796D2
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796D2#FFFFFF#000000##000000
##E796D21.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A9D4
Deuteranopia (green-blind)
#ABB5D0
Tritanopia (blue-blind)
#EF99AC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #e796d2;
/* rgb */ color: rgb(231, 150, 210);
/* oklch */ color: oklch(77.3% 0.123 336.8);
Tailwind
colors: {
  custom: {
    50: '#f0b6df',
    500: '#e796d2',
    950: '#000000',
  },
}
SCSS
$custom: #e796d2;
$custom-light: #f0b6df;
$custom-dark: #000000;
JSON
{
  "hex": "#e796d2",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 210
  },
  "hsl": {
    "h": 315.556,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77296,
    "c": 0.12301,
    "h": 336.8
  },
  "luminance": 0.43455
}

Semantic roles & 50–950 ramp

primary
#E796D2
secondary
#DAF1E0
accent
#CB481B
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #E796D2

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

Preview Lab → · Contrast checker → · Palette generator →

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