#E797AA#E797AA

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

Color values

HEX#E797AA
RGBrgb(231, 151, 170)
HSLhsl(346, 63%, 75%)
HSVhsv(346, 35%, 91%)
CMYKcmyk(0%, 34.6%, 26.4%, 9.4%)
CIE-LABlab(70.89, 32.51, 2.58)
CIE-LCHlch(70.89, 32.62, 4.54°)
OKLaboklab(76.16% 0.0983 0.0072)
OKLCHoklch(76.16% 0.099 4.2)
XYZxyz(51.2786, 42.0278, 43.4337)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797AA #97E7D4
analogous
#E797D2 #E797AA #E7AC97
triadic
#E797AA #AAE797 #97AAE7
tetradic
#E797AA #D2E797 #97E7D4 #AC97E7
square
#E797AA #D2E797 #97E7D4 #AC97E7
split-complementary
#E797AA #97E7AC #97D2E7
monochromatic
#D03459 #DC6581 #E797AA #F2C9D3 #F9E6EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E797AA#FFFFFF#000000##000000
##E797AA1.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)
#A3A5AB
Deuteranopia (green-blind)
#B6B3A8
Tritanopia (blue-blind)
#F4919E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e797aa;
/* rgb */ color: rgb(231, 151, 170);
/* oklch */ color: oklch(76.2% 0.099 4.2);
Tailwind
colors: {
  custom: {
    50: '#f0b6c3',
    500: '#e797aa',
    950: '#000000',
  },
}
SCSS
$custom: #e797aa;
$custom-light: #f0b6c3;
$custom-dark: #000000;
JSON
{
  "hex": "#e797aa",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 170
  },
  "hsl": {
    "h": 345.75,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7616,
    "c": 0.09856,
    "h": 4.2
  },
  "luminance": 0.42024
}

Semantic roles & 50–950 ramp

primary
#E797AA
secondary
#DAF1EB
accent
#CAA11B
background
#FEFBFB
surface
#FDF6F7
border
#D5D0D0
text
#171112
muted
#858081

Preview Lab

Preview with #E797AA

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

Preview Lab → · Contrast checker → · Palette generator →

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