#E798CC#E798CC

#E798CC is a light, moderate pink. Relative luminance 0.438; OKLCH L 77.4% C 0.115 H 340.5°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#E798CC
RGBrgb(231, 152, 204)
HSLhsl(321, 62%, 75%)
HSVhsv(321, 34%, 91%)
CMYKcmyk(0%, 34.2%, 11.7%, 9.4%)
CIE-LABlab(72.10, 37.12, -14.47)
CIE-LCHlch(72.10, 39.84, 338.71°)
OKLaboklab(77.41% 0.1082 -0.0384)
OKLCHoklch(77.41% 0.115 340.5)
XYZxyz(55.0823, 43.8078, 62.6694)
Luminance0.4380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798CC #98E7B3
analogous
#DA98E7 #E798CC #E798A5
triadic
#E798CC #CCE798 #98CCE7
tetradic
#E798CC #E7DA98 #98E7B3 #98A5E7
square
#E798CC #E7DA98 #98E7B3 #98A5E7
split-complementary
#E798CC #A5E798 #98E7DA
monochromatic
#D0359B #DB66B3 #E798CC #F3CAE5 #F9E6F3

Accessibility & contrast

On white

2.15
#E798CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#E798CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798CC
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798CC#FFFFFF#000000##000000
##E798CC1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA9CE
Deuteranopia (green-blind)
#AFB5CA
Tritanopia (blue-blind)
#F099AA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e798cc;
/* rgb */ color: rgb(231, 152, 204);
/* oklch */ color: oklch(77.4% 0.115 340.5);
Tailwind
colors: {
  custom: {
    50: '#f0b7db',
    500: '#e798cc',
    950: '#000000',
  },
}
SCSS
$custom: #e798cc;
$custom-light: #f0b7db;
$custom-dark: #000000;
JSON
{
  "hex": "#e798cc",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 320.506,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77409,
    "c": 0.11484,
    "h": 340.5
  },
  "luminance": 0.43805
}

Semantic roles & 50–950 ramp

primary
#E798CC
secondary
#DAF1E2
accent
#CA571C
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #E798CC

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

Preview Lab → · Contrast checker → · Palette generator →

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