#E797BC#E797BC

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

Color values

HEX#E797BC
RGBrgb(231, 151, 188)
HSLhsl(332, 63%, 75%)
HSVhsv(332, 35%, 91%)
CMYKcmyk(0%, 34.6%, 18.6%, 9.4%)
CIE-LABlab(71.39, 35.12, -6.68)
CIE-LCHlch(71.39, 35.75, 349.23°)
OKLaboklab(76.71% 0.1046 -0.0173)
OKLCHoklch(76.71% 0.106 350.6)
XYZxyz(53.0993, 42.7561, 53.0231)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797BC #97E7C2
analogous
#E797E4 #E797BC #E79A97
triadic
#E797BC #BCE797 #97BCE7
tetradic
#E797BC #E4E797 #97E7C2 #9A97E7
square
#E797BC #E4E797 #97E7C2 #9A97E7
split-complementary
#E797BC #97E79A #97E4E7
monochromatic
#D0347C #DC659C #E797BC #F2C9DC #F9E6EF

Accessibility & contrast

On white

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

On black

9.55
#E797BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797BC
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797BC#FFFFFF#000000##000000
##E797BC1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e797bc;
/* rgb */ color: rgb(231, 151, 188);
/* oklch */ color: oklch(76.7% 0.106 350.6);
Tailwind
colors: {
  custom: {
    50: '#f0b6d0',
    500: '#e797bc',
    950: '#000000',
  },
}
SCSS
$custom: #e797bc;
$custom-light: #f0b6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#e797bc",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 188
  },
  "hsl": {
    "h": 332.25,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76706,
    "c": 0.10604,
    "h": 350.6
  },
  "luminance": 0.42753
}

Semantic roles & 50–950 ramp

primary
#E797BC
secondary
#DAF1E6
accent
#CA791B
background
#FEFBFC
surface
#FDF6F9
border
#D5D0D2
text
#171114
muted
#858082

Preview Lab

Preview with #E797BC

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

Preview Lab → · Contrast checker → · Palette generator →

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