#E2787E#E2787E

#E2787E is a light, vivid red. Relative luminance 0.311; OKLCH L 69.4% C 0.132 H 17.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#E2787E
RGBrgb(226, 120, 126)
HSLhsl(357, 65%, 68%)
HSVhsv(357, 47%, 89%)
CMYKcmyk(0%, 46.9%, 44.2%, 11.4%)
CIE-LABlab(62.60, 41.58, 15.49)
CIE-LCHlch(62.60, 44.37, 20.44°)
OKLaboklab(69.36% 0.1254 0.0396)
OKLCHoklch(69.36% 0.132 17.5)
XYZxyz(41.8489, 31.1122, 23.5359)
Luminance0.3111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2787E #78E2DC
analogous
#E278B3 #E2787E #E2A778
triadic
#E2787E #7EE278 #787EE2
tetradic
#E2787E #B3E278 #78E2DC #A778E2
square
#E2787E #B3E278 #78E2DC #A778E2
split-complementary
#E2787E #78E2A7 #78B3E2
monochromatic
#B82830 #D7464E #E2787E #EDAAAE #F8DDDE

Accessibility & contrast

On white

2.91
#E2787E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#E2787E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2787E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2787E#FFFFFF#000000##000000
##E2787E1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8A7E
Deuteranopia (green-blind)
#A8A07C
Tritanopia (blue-blind)
#F46B7B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #e2787e;
/* rgb */ color: rgb(226, 120, 126);
/* oklch */ color: oklch(69.4% 0.132 17.5);
Tailwind
colors: {
  custom: {
    50: '#efa1a3',
    500: '#e2787e',
    950: '#000000',
  },
}
SCSS
$custom: #e2787e;
$custom-light: #efa1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2787e",
  "rgb": {
    "r": 226,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 356.604,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69358,
    "c": 0.1315,
    "h": 17.5
  },
  "luminance": 0.31108
}

Semantic roles & 50–950 ramp

primary
#E2787E
secondary
#CBEBE9
accent
#CCC219
background
#FFFAFA
surface
#FEF3F3
border
#D6CDCD
text
#170F0F
muted
#857F7F

Preview Lab

Preview with #E2787E

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

Preview Lab → · Contrast checker → · Palette generator →

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