#E2787F#E2787F

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

Color values

HEX#E2787F
RGBrgb(226, 120, 127)
HSLhsl(356, 65%, 68%)
HSVhsv(356, 47%, 89%)
CMYKcmyk(0%, 46.9%, 43.8%, 11.4%)
CIE-LABlab(62.62, 41.68, 14.95)
CIE-LCHlch(62.62, 44.28, 19.73°)
OKLaboklab(69.38% 0.1258 0.0383)
OKLCHoklch(69.38% 0.131 16.9)
XYZxyz(41.9138, 31.1381, 23.8774)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2787F #78E2DB
analogous
#E278B4 #E2787F #E2A678
triadic
#E2787F #7FE278 #787FE2
tetradic
#E2787F #B4E278 #78E2DB #A678E2
square
#E2787F #B4E278 #78E2DB #A678E2
split-complementary
#E2787F #78E2A6 #78B4E2
monochromatic
#B82831 #D7464F #E2787F #EDAAAF #F8DDDF

Accessibility & contrast

On white

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

On black

7.23
#E2787F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2787F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2787F#FFFFFF#000000##000000
##E2787F1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2787f;
/* rgb */ color: rgb(226, 120, 127);
/* oklch */ color: oklch(69.4% 0.131 16.9);
Tailwind
colors: {
  custom: {
    50: '#efa1a4',
    500: '#e2787f',
    950: '#000000',
  },
}
SCSS
$custom: #e2787f;
$custom-light: #efa1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2787f",
  "rgb": {
    "r": 226,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 356.038,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69382,
    "c": 0.13149,
    "h": 16.9
  },
  "luminance": 0.31134
}

Semantic roles & 50–950 ramp

primary
#E2787F
secondary
#CBEBE9
accent
#CCC119
background
#FFFAFA
surface
#FEF3F4
border
#D6CDCE
text
#170F0F
muted
#857F7F

Preview Lab

Preview with #E2787F

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

Preview Lab → · Contrast checker → · Palette generator →

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