#E798BC#E798BC

#E798BC is a light, moderate pink. Relative luminance 0.431; OKLCH L 76.9% C 0.104 H 351.0°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#E798BC
RGBrgb(231, 152, 188)
HSLhsl(333, 62%, 75%)
HSVhsv(333, 34%, 91%)
CMYKcmyk(0%, 34.2%, 18.6%, 9.4%)
CIE-LABlab(71.61, 34.59, -6.35)
CIE-LCHlch(71.61, 35.17, 349.59°)
OKLaboklab(76.87% 0.1031 -0.0164)
OKLCHoklch(76.87% 0.104 351)
XYZxyz(53.2609, 43.0793, 53.0770)
Luminance0.4308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798BC #98E7C3
analogous
#E798E4 #E798BC #E79B98
triadic
#E798BC #BCE798 #98BCE7
tetradic
#E798BC #E4E798 #98E7C3 #9B98E7
square
#E798BC #E4E798 #98E7C3 #9B98E7
split-complementary
#E798BC #98E79B #98E4E7
monochromatic
#D0357B #DB669C #E798BC #F3CADC #F9E6EF

Accessibility & contrast

On white

2.18
#E798BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#E798BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798BC
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798BC#FFFFFF#000000##000000
##E798BC1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A7BD
Deuteranopia (green-blind)
#B3B4BA
Tritanopia (blue-blind)
#F296A4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e798bc;
/* rgb */ color: rgb(231, 152, 188);
/* oklch */ color: oklch(76.9% 0.104 351.0);
Tailwind
colors: {
  custom: {
    50: '#f0b7d0',
    500: '#e798bc',
    950: '#000000',
  },
}
SCSS
$custom: #e798bc;
$custom-light: #f0b7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#e798bc",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 188
  },
  "hsl": {
    "h": 332.658,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76873,
    "c": 0.10436,
    "h": 351
  },
  "luminance": 0.43076
}

Semantic roles & 50–950 ramp

primary
#E798BC
secondary
#DAF1E6
accent
#CA7A1C
background
#FEFBFC
surface
#FDF6F9
border
#D5D0D2
text
#171114
muted
#858082

Preview Lab

Preview with #E798BC

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

Preview Lab → · Contrast checker → · Palette generator →

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