#E798AC#E798AC

#E798AC is a light, moderate pink. Relative luminance 0.424; OKLCH L 76.4% C 0.098 H 3.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#E798AC
RGBrgb(231, 152, 172)
HSLhsl(345, 62%, 75%)
HSVhsv(345, 34%, 91%)
CMYKcmyk(0%, 34.2%, 25.5%, 9.4%)
CIE-LABlab(71.16, 32.26, 1.87)
CIE-LCHlch(71.16, 32.31, 3.32°)
OKLaboklab(76.39% 0.0975 0.0054)
OKLCHoklch(76.39% 0.098 3.1)
XYZxyz(51.6308, 42.4272, 44.4916)
Luminance0.4242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798AC #98E7D3
analogous
#E798D4 #E798AC #E7AB98
triadic
#E798AC #ACE798 #98ACE7
tetradic
#E798AC #D4E798 #98E7D3 #AB98E7
square
#E798AC #D4E798 #98E7D3 #AB98E7
split-complementary
#E798AC #98E7AB #98D4E7
monochromatic
#D0355C #DB6684 #E798AC #F3CAD4 #F9E6EB

Accessibility & contrast

On white

2.21
#E798AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#E798AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798AC
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798AC#FFFFFF#000000##000000
##E798AC1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A6AD
Deuteranopia (green-blind)
#B6B4AA
Tritanopia (blue-blind)
#F4939F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e798ac;
/* rgb */ color: rgb(231, 152, 172);
/* oklch */ color: oklch(76.4% 0.098 3.1);
Tailwind
colors: {
  custom: {
    50: '#f0b7c4',
    500: '#e798ac',
    950: '#000000',
  },
}
SCSS
$custom: #e798ac;
$custom-light: #f0b7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#e798ac",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 172
  },
  "hsl": {
    "h": 344.81,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76387,
    "c": 0.0976,
    "h": 3.1
  },
  "luminance": 0.42424
}

Semantic roles & 50–950 ramp

primary
#E798AC
secondary
#DAF1EB
accent
#CA9E1C
background
#FEFBFC
surface
#FDF6F8
border
#D5D0D1
text
#171112
muted
#858081

Preview Lab

Preview with #E798AC

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

Preview Lab → · Contrast checker → · Palette generator →

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