#E797BD#E797BD

#E797BD is a light, moderate pink. Relative luminance 0.428; OKLCH L 76.7% C 0.107 H 349.9°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#E797BD
RGBrgb(231, 151, 189)
HSLhsl(332, 63%, 75%)
HSVhsv(332, 35%, 91%)
CMYKcmyk(0%, 34.6%, 18.2%, 9.4%)
CIE-LABlab(71.42, 35.28, -7.19)
CIE-LCHlch(71.42, 36.00, 348.48°)
OKLaboklab(76.74% 0.105 -0.0186)
OKLCHoklch(76.74% 0.107 349.9)
XYZxyz(53.2075, 42.7993, 53.5928)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797BD #97E7C1
analogous
#E797E5 #E797BD #E79997
triadic
#E797BD #BDE797 #97BDE7
tetradic
#E797BD #E5E797 #97E7C1 #9997E7
square
#E797BD #E5E797 #97E7C1 #9997E7
split-complementary
#E797BD #97E799 #97E5E7
monochromatic
#D0347E #DC659D #E797BD #F2C9DD #F9E6EF

Accessibility & contrast

On white

2.20
#E797BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#E797BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797BD
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797BD#FFFFFF#000000##000000
##E797BD1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA7BE
Deuteranopia (green-blind)
#B2B4BB
Tritanopia (blue-blind)
#F295A4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e797bd;
/* rgb */ color: rgb(231, 151, 189);
/* oklch */ color: oklch(76.7% 0.107 349.9);
Tailwind
colors: {
  custom: {
    50: '#f0b6d0',
    500: '#e797bd',
    950: '#000000',
  },
}
SCSS
$custom: #e797bd;
$custom-light: #f0b6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#e797bd",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 189
  },
  "hsl": {
    "h": 331.5,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76738,
    "c": 0.10659,
    "h": 349.9
  },
  "luminance": 0.42796
}

Semantic roles & 50–950 ramp

primary
#E797BD
secondary
#DAF1E6
accent
#CA771B
background
#FEFBFC
surface
#FDF6F9
border
#D5D0D2
text
#171114
muted
#858082

Preview Lab

Preview with #E797BD

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

Preview Lab → · Contrast checker → · Palette generator →

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