#E796CA#E796CA

#E796CA is a light, moderate pink. Relative luminance 0.431; OKLCH L 77.0% C 0.117 H 341.3°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#E796CA
RGBrgb(231, 150, 202)
HSLhsl(321, 63%, 75%)
HSVhsv(321, 35%, 91%)
CMYKcmyk(0%, 35.1%, 12.6%, 9.4%)
CIE-LABlab(71.60, 37.85, -14.11)
CIE-LCHlch(71.60, 40.40, 339.55°)
OKLaboklab(77.01% 0.1107 -0.0374)
OKLCHoklch(77.01% 0.117 341.3)
XYZxyz(54.5221, 43.0688, 61.3069)
Luminance0.4307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796CA #96E7B3
analogous
#DB96E7 #E796CA #E796A2
triadic
#E796CA #CAE796 #96CAE7
tetradic
#E796CA #E7DB96 #96E7B3 #96A2E7
square
#E796CA #E7DB96 #96E7B3 #96A2E7
split-complementary
#E796CA #A2E796 #96E7DB
monochromatic
#D03298 #DC64B1 #E796CA #F2C8E3 #F9E6F2

Accessibility & contrast

On white

2.18
#E796CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#E796CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796CA
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796CA#FFFFFF#000000##000000
##E796CA1.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA8CC
Deuteranopia (green-blind)
#AEB4C8
Tritanopia (blue-blind)
#F097A8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e796ca;
/* rgb */ color: rgb(231, 150, 202);
/* oklch */ color: oklch(77.0% 0.117 341.3);
Tailwind
colors: {
  custom: {
    50: '#f0b6da',
    500: '#e796ca',
    950: '#000000',
  },
}
SCSS
$custom: #e796ca;
$custom-light: #f0b6da;
$custom-dark: #000000;
JSON
{
  "hex": "#e796ca",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 202
  },
  "hsl": {
    "h": 321.481,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77009,
    "c": 0.11682,
    "h": 341.3
  },
  "luminance": 0.43066
}

Semantic roles & 50–950 ramp

primary
#E796CA
secondary
#DAF1E2
accent
#CB5A1B
background
#FEFBFD
surface
#FDF6FA
border
#D5D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #E796CA

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

Preview Lab → · Contrast checker → · Palette generator →

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