#E797BF#E797BF

#E797BF is a light, moderate pink. Relative luminance 0.429; OKLCH L 76.8% C 0.108 H 348.6°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#E797BF
RGBrgb(231, 151, 191)
HSLhsl(330, 63%, 75%)
HSVhsv(330, 35%, 91%)
CMYKcmyk(0%, 34.6%, 17.3%, 9.4%)
CIE-LABlab(71.48, 35.58, -8.21)
CIE-LCHlch(71.48, 36.52, 347.01°)
OKLaboklab(76.8% 0.1056 -0.0214)
OKLCHoklch(76.8% 0.108 348.6)
XYZxyz(53.4261, 42.8868, 54.7440)
Luminance0.4288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797BF #97E7BF
analogous
#E797E7 #E797BF #E79797
triadic
#E797BF #BFE797 #97BFE7
tetradic
#E797BF #E7E797 #97E7BF #9797E7
square
#E797BF #E7E797 #97E7BF #9797E7
split-complementary
#E797BF #97E797 #97E7E7
monochromatic
#D03482 #DC65A0 #E797BF #F2C9DE #F9E6F0

Accessibility & contrast

On white

2.19
#E797BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#E797BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797BF
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797BF#FFFFFF#000000##000000
##E797BF1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA7C0
Deuteranopia (green-blind)
#B1B4BD
Tritanopia (blue-blind)
#F295A5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e797bf;
/* rgb */ color: rgb(231, 151, 191);
/* oklch */ color: oklch(76.8% 0.108 348.6);
Tailwind
colors: {
  custom: {
    50: '#f0b6d2',
    500: '#e797bf',
    950: '#000000',
  },
}
SCSS
$custom: #e797bf;
$custom-light: #f0b6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#e797bf",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 330,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76803,
    "c": 0.10776,
    "h": 348.6
  },
  "luminance": 0.42884
}

Semantic roles & 50–950 ramp

primary
#E797BF
secondary
#DAF1E6
accent
#CA731B
background
#FEFBFC
surface
#FDF6F9
border
#D5D0D2
text
#171114
muted
#858082

Preview Lab

Preview with #E797BF

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

Preview Lab → · Contrast checker → · Palette generator →

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