#E796B2#E796B2

#E796B2 is a light, moderate pink. Relative luminance 0.420; OKLCH L 76.2% C 0.103 H 357.5°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#E796B2
RGBrgb(231, 150, 178)
HSLhsl(339, 63%, 75%)
HSVhsv(339, 35%, 91%)
CMYKcmyk(0%, 35.1%, 22.9%, 9.4%)
CIE-LABlab(70.88, 34.17, -1.87)
CIE-LCHlch(70.88, 34.22, 356.87°)
OKLaboklab(76.23% 0.1027 -0.0045)
OKLCHoklch(76.23% 0.103 357.5)
XYZxyz(51.8982, 42.0192, 47.4878)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796B2 #96E7CB
analogous
#E796DB #E796B2 #E7A296
triadic
#E796B2 #B2E796 #96B2E7
tetradic
#E796B2 #DBE796 #96E7CB #A296E7
square
#E796B2 #DBE796 #96E7CB #A296E7
split-complementary
#E796B2 #96E7A2 #96DBE7
monochromatic
#D03269 #DC648D #E796B2 #F2C8D7 #F9E6ED

Accessibility & contrast

On white

2.23
#E796B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#E796B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796B2
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796B2#FFFFFF#000000##000000
##E796B21.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A5B3
Deuteranopia (green-blind)
#B4B3B0
Tritanopia (blue-blind)
#F392A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e796b2;
/* rgb */ color: rgb(231, 150, 178);
/* oklch */ color: oklch(76.2% 0.103 357.5);
Tailwind
colors: {
  custom: {
    50: '#f0b6c9',
    500: '#e796b2',
    950: '#000000',
  },
}
SCSS
$custom: #e796b2;
$custom-light: #f0b6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#e796b2",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 178
  },
  "hsl": {
    "h": 339.259,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76226,
    "c": 0.10284,
    "h": 357.5
  },
  "luminance": 0.42016
}

Semantic roles & 50–950 ramp

primary
#E796B2
secondary
#DAF1E9
accent
#CB8E1B
background
#FEFBFC
surface
#FDF6F8
border
#D5D0D1
text
#171113
muted
#858082

Preview Lab

Preview with #E796B2

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

Preview Lab → · Contrast checker → · Palette generator →

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