#E797AB#E797AB

#E797AB is a light, moderate red. Relative luminance 0.421; OKLCH L 76.2% C 0.099 H 3.4°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#E797AB
RGBrgb(231, 151, 171)
HSLhsl(345, 63%, 75%)
HSVhsv(345, 35%, 91%)
CMYKcmyk(0%, 34.6%, 26%, 9.4%)
CIE-LABlab(70.92, 32.65, 2.07)
CIE-LCHlch(70.92, 32.72, 3.62°)
OKLaboklab(76.19% 0.0987 0.0059)
OKLCHoklch(76.19% 0.099 3.4)
XYZxyz(51.3735, 42.0657, 43.9338)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797AB #97E7D3
analogous
#E797D3 #E797AB #E7AB97
triadic
#E797AB #ABE797 #97ABE7
tetradic
#E797AB #D3E797 #97E7D3 #AB97E7
square
#E797AB #D3E797 #97E7D3 #AB97E7
split-complementary
#E797AB #97E7AB #97D3E7
monochromatic
#D0345B #DC6583 #E797AB #F2C9D3 #F9E6EB

Accessibility & contrast

On white

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

On black

9.41
#E797AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797AB
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797AB#FFFFFF#000000##000000
##E797AB1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A5AC
Deuteranopia (green-blind)
#B6B3A9
Tritanopia (blue-blind)
#F4929E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e797ab;
/* rgb */ color: rgb(231, 151, 171);
/* oklch */ color: oklch(76.2% 0.099 3.4);
Tailwind
colors: {
  custom: {
    50: '#f0b6c4',
    500: '#e797ab',
    950: '#000000',
  },
}
SCSS
$custom: #e797ab;
$custom-light: #f0b6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#e797ab",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 171
  },
  "hsl": {
    "h": 345,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76188,
    "c": 0.09883,
    "h": 3.4
  },
  "luminance": 0.42062
}

Semantic roles & 50–950 ramp

primary
#E797AB
secondary
#DAF1EB
accent
#CA9E1B
background
#FEFBFC
surface
#FDF6F8
border
#D5D0D1
text
#171112
muted
#858081

Preview Lab

Preview with #E797AB

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

Preview Lab → · Contrast checker → · Palette generator →

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