#E797CF#E797CF

#E797CF is a light, moderate pink. Relative luminance 0.436; OKLCH L 77.4% C 0.119 H 338.6°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#E797CF
RGBrgb(231, 151, 207)
HSLhsl(318, 63%, 75%)
HSVhsv(318, 35%, 91%)
CMYKcmyk(0%, 34.6%, 10.4%, 9.4%)
CIE-LABlab(71.98, 38.15, -16.30)
CIE-LCHlch(71.98, 41.48, 336.86°)
OKLaboklab(77.35% 0.1107 -0.0435)
OKLCHoklch(77.35% 0.119 338.6)
XYZxyz(55.2840, 43.6299, 64.5288)
Luminance0.4363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E797CF #97E7AF
analogous
#D797E7 #E797CF #E797A7
triadic
#E797CF #CFE797 #97CFE7
tetradic
#E797CF #E7D797 #97E7AF #97A7E7
square
#E797CF #E7D797 #97E7AF #97A7E7
split-complementary
#E797CF #A7E797 #97E7D7
monochromatic
#D034A1 #DC65B8 #E797CF #F2C9E6 #F9E6F4

Accessibility & contrast

On white

2.16
#E797CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#E797CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E797CF
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E797CF#FFFFFF#000000##000000
##E797CF1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A9D1
Deuteranopia (green-blind)
#ADB5CD
Tritanopia (blue-blind)
#F099AB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #e797cf;
/* rgb */ color: rgb(231, 151, 207);
/* oklch */ color: oklch(77.4% 0.119 338.6);
Tailwind
colors: {
  custom: {
    50: '#f0b7dd',
    500: '#e797cf',
    950: '#000000',
  },
}
SCSS
$custom: #e797cf;
$custom-light: #f0b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#e797cf",
  "rgb": {
    "r": 231,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 318,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77351,
    "c": 0.11888,
    "h": 338.6
  },
  "luminance": 0.43627
}

Semantic roles & 50–950 ramp

primary
#E797CF
secondary
#DAF1E1
accent
#CA501B
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #E797CF

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

Preview Lab → · Contrast checker → · Palette generator →

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