#E797CC#E797CC

#E797CC is a light, moderate pink. Relative luminance 0.435; OKLCH L 77.2% C 0.117 H 340.3°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#E797CC
RGBrgb(231, 151, 204)
HSLhsl(320, 63%, 75%)
HSVhsv(320, 35%, 91%)
CMYKcmyk(0%, 34.6%, 11.7%, 9.4%)
CIE-LABlab(71.88, 37.65, -14.80)
CIE-LCHlch(71.88, 40.45, 338.55°)
OKLaboklab(77.24% 0.1098 -0.0393)
OKLCHoklch(77.24% 0.117 340.3)
XYZxyz(54.9207, 43.4846, 62.6156)
Luminance0.4348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797CC #97E7B2
analogous
#DA97E7 #E797CC #E797A4
triadic
#E797CC #CCE797 #97CCE7
tetradic
#E797CC #E7DA97 #97E7B2 #97A4E7
square
#E797CC #E7DA97 #97E7B2 #97A4E7
split-complementary
#E797CC #A4E797 #97E7DA
monochromatic
#D0349B #DC65B4 #E797CC #F2C9E4 #F9E6F3

Accessibility & contrast

On white

2.17
#E797CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#E797CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797CC
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797CC#FFFFFF#000000##000000
##E797CC1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA9CE
Deuteranopia (green-blind)
#AEB5CA
Tritanopia (blue-blind)
#F098AA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #e797cc;
/* rgb */ color: rgb(231, 151, 204);
/* oklch */ color: oklch(77.2% 0.117 340.3);
Tailwind
colors: {
  custom: {
    50: '#f0b7db',
    500: '#e797cc',
    950: '#000000',
  },
}
SCSS
$custom: #e797cc;
$custom-light: #f0b7db;
$custom-dark: #000000;
JSON
{
  "hex": "#e797cc",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 320.25,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77244,
    "c": 0.11658,
    "h": 340.3
  },
  "luminance": 0.43482
}

Semantic roles & 50–950 ramp

primary
#E797CC
secondary
#DAF1E2
accent
#CA561B
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #E797CC

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

Preview Lab → · Contrast checker → · Palette generator →

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