#E2787D#E2787D

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

Color values

HEX#E2787D
RGBrgb(226, 120, 125)
HSLhsl(357, 65%, 68%)
HSVhsv(357, 47%, 89%)
CMYKcmyk(0%, 46.9%, 44.7%, 11.4%)
CIE-LABlab(62.58, 41.48, 16.03)
CIE-LCHlch(62.58, 44.47, 21.13°)
OKLaboklab(69.34% 0.125 0.0409)
OKLCHoklch(69.34% 0.132 18.1)
XYZxyz(41.7847, 31.0865, 23.1978)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2787D #78E2DD
analogous
#E278B2 #E2787D #E2A878
triadic
#E2787D #7DE278 #787DE2
tetradic
#E2787D #B2E278 #78E2DD #A878E2
square
#E2787D #B2E278 #78E2DD #A878E2
split-complementary
#E2787D #78E2A8 #78B2E2
monochromatic
#B8282E #D7464C #E2787D #EDAAAE #F8DDDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2787D#FFFFFF#000000##000000
##E2787D1.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)
#8E8A7D
Deuteranopia (green-blind)
#A99F7B
Tritanopia (blue-blind)
#F46A7A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #e2787d;
/* rgb */ color: rgb(226, 120, 125);
/* oklch */ color: oklch(69.3% 0.132 18.1);
Tailwind
colors: {
  custom: {
    50: '#efa1a2',
    500: '#e2787d',
    950: '#000000',
  },
}
SCSS
$custom: #e2787d;
$custom-light: #efa1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2787d",
  "rgb": {
    "r": 226,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 357.17,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69335,
    "c": 0.13154,
    "h": 18.1
  },
  "luminance": 0.31082
}

Semantic roles & 50–950 ramp

primary
#E2787D
secondary
#CBEBEA
accent
#CCC419
background
#FFFAF9
surface
#FEF3F2
border
#D6CDCC
text
#170F0F
muted
#857F7E

Preview Lab

Preview with #E2787D

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

Preview Lab → · Contrast checker → · Palette generator →

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