#E797D2#E797D2

#E797D2 is a light, vivid pink. Relative luminance 0.438; OKLCH L 77.5% C 0.121 H 336.9°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#E797D2
RGBrgb(231, 151, 210)
HSLhsl(316, 63%, 75%)
HSVhsv(316, 35%, 91%)
CMYKcmyk(0%, 34.6%, 9.1%, 9.4%)
CIE-LABlab(72.08, 38.65, -17.81)
CIE-LCHlch(72.08, 42.55, 335.26°)
OKLaboklab(77.46% 0.1115 -0.0476)
OKLCHoklch(77.46% 0.121 336.9)
XYZxyz(55.6542, 43.7780, 66.4788)
Luminance0.4377 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797D2 #97E7AC
analogous
#D497E7 #E797D2 #E797AA
triadic
#E797D2 #D2E797 #97D2E7
tetradic
#E797D2 #E7D497 #97E7AC #97AAE7
square
#E797D2 #E7D497 #97E7AC #97AAE7
split-complementary
#E797D2 #AAE797 #97E7D4
monochromatic
#D034A7 #DC65BC #E797D2 #F2C9E8 #F9E6F4

Accessibility & contrast

On white

2.15
#E797D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#E797D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797D2
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797D2#FFFFFF#000000##000000
##E797D21.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A9D4
Deuteranopia (green-blind)
#ACB5D0
Tritanopia (blue-blind)
#EF99AC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e797d2;
/* rgb */ color: rgb(231, 151, 210);
/* oklch */ color: oklch(77.5% 0.121 336.9);
Tailwind
colors: {
  custom: {
    50: '#f0b7df',
    500: '#e797d2',
    950: '#000000',
  },
}
SCSS
$custom: #e797d2;
$custom-light: #f0b7df;
$custom-dark: #000000;
JSON
{
  "hex": "#e797d2",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 315.75,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77459,
    "c": 0.12128,
    "h": 336.9
  },
  "luminance": 0.43775
}

Semantic roles & 50–950 ramp

primary
#E797D2
secondary
#DAF1E0
accent
#CA491B
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #E797D2

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

Preview Lab → · Contrast checker → · Palette generator →

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