#E798BF#E798BF

#E798BF is a light, moderate pink. Relative luminance 0.432; OKLCH L 77.0% C 0.106 H 348.8°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#E798BF
RGBrgb(231, 152, 191)
HSLhsl(330, 62%, 75%)
HSVhsv(330, 34%, 91%)
CMYKcmyk(0%, 34.2%, 17.3%, 9.4%)
CIE-LABlab(71.70, 35.05, -7.88)
CIE-LCHlch(71.70, 35.93, 347.32°)
OKLaboklab(76.97% 0.1041 -0.0205)
OKLCHoklch(76.97% 0.106 348.8)
XYZxyz(53.5877, 43.2100, 54.7979)
Luminance0.4321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798BF #98E7C0
analogous
#E798E6 #E798BF #E79898
triadic
#E798BF #BFE798 #98BFE7
tetradic
#E798BF #E6E798 #98E7C0 #9898E7
square
#E798BF #E6E798 #98E7C0 #9898E7
split-complementary
#E798BF #98E798 #98E6E7
monochromatic
#D03581 #DB66A0 #E798BF #F3CADE #F9E6F0

Accessibility & contrast

On white

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

On black

9.64
#E798BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798BF
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798BF#FFFFFF#000000##000000
##E798BF1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FA8C0
Deuteranopia (green-blind)
#B2B5BD
Tritanopia (blue-blind)
#F296A6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #e798bf;
/* rgb */ color: rgb(231, 152, 191);
/* oklch */ color: oklch(77.0% 0.106 348.8);
Tailwind
colors: {
  custom: {
    50: '#f0b7d2',
    500: '#e798bf',
    950: '#000000',
  },
}
SCSS
$custom: #e798bf;
$custom-light: #f0b7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#e798bf",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 191
  },
  "hsl": {
    "h": 330.38,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7697,
    "c": 0.10607,
    "h": 348.8
  },
  "luminance": 0.43207
}

Semantic roles & 50–950 ramp

primary
#E798BF
secondary
#DAF1E6
accent
#CA741C
background
#FEFBFC
surface
#FDF6F9
border
#D5D0D2
text
#171114
muted
#858082

Preview Lab

Preview with #E798BF

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

Preview Lab → · Contrast checker → · Palette generator →

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