#E798D2#E798D2

#E798D2 is a light, moderate pink. Relative luminance 0.441; OKLCH L 77.6% C 0.120 H 337.0°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#E798D2
RGBrgb(231, 152, 210)
HSLhsl(316, 62%, 75%)
HSVhsv(316, 34%, 91%)
CMYKcmyk(0%, 34.2%, 9.1%, 9.4%)
CIE-LABlab(72.30, 38.12, -17.48)
CIE-LCHlch(72.30, 41.94, 335.36°)
OKLaboklab(77.62% 0.11 -0.0467)
OKLCHoklch(77.62% 0.12 337)
XYZxyz(55.8158, 44.1013, 66.5326)
Luminance0.4410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798D2 #98E7AD
analogous
#D498E7 #E798D2 #E798AB
triadic
#E798D2 #D2E798 #98D2E7
tetradic
#E798D2 #E7D498 #98E7AD #98ABE7
square
#E798D2 #E7D498 #98E7AD #98ABE7
split-complementary
#E798D2 #ABE798 #98E7D4
monochromatic
#D035A7 #DB66BC #E798D2 #F3CAE8 #F9E6F4

Accessibility & contrast

On white

2.14
#E798D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#E798D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798D2
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798D2#FFFFFF#000000##000000
##E798D21.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99AAD4
Deuteranopia (green-blind)
#ADB6D0
Tritanopia (blue-blind)
#EF9AAD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e798d2;
/* rgb */ color: rgb(231, 152, 210);
/* oklch */ color: oklch(77.6% 0.120 337.0);
Tailwind
colors: {
  custom: {
    50: '#f0b7df',
    500: '#e798d2',
    950: '#000000',
  },
}
SCSS
$custom: #e798d2;
$custom-light: #f0b7df;
$custom-dark: #000000;
JSON
{
  "hex": "#e798d2",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 315.949,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77623,
    "c": 0.11952,
    "h": 337
  },
  "luminance": 0.44099
}

Semantic roles & 50–950 ramp

primary
#E798D2
secondary
#DAF1E0
accent
#CA4A1C
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #E798D2

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

Preview Lab → · Contrast checker → · Palette generator →

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