#E4787F#E4787F

#E4787F is a light, vivid red. Relative luminance 0.315; OKLCH L 69.6% C 0.134 H 17.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#E4787F
RGBrgb(228, 120, 127)
HSLhsl(356, 67%, 68%)
HSVhsv(356, 47%, 89%)
CMYKcmyk(0%, 47.4%, 44.3%, 10.6%)
CIE-LABlab(62.90, 42.40, 15.37)
CIE-LCHlch(62.90, 45.10, 19.93°)
OKLaboklab(69.65% 0.1279 0.0393)
OKLCHoklch(69.65% 0.134 17.1)
XYZxyz(42.5447, 31.4635, 23.9070)
Luminance0.3146 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4787F #78E4DD
analogous
#E478B5 #E4787F #E4A778
triadic
#E4787F #7FE478 #787FE4
tetradic
#E4787F #B5E478 #78E4DD #A778E4
square
#E4787F #B5E478 #78E4DD #A778E4
split-complementary
#E4787F #78E4A7 #78B5E4
monochromatic
#BC262F #DA454F #E4787F #EEABAF #F8DEE0

Accessibility & contrast

On white

2.88
#E4787F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#E4787F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4787F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4787F#FFFFFF#000000##000000
##E4787F1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8B7F
Deuteranopia (green-blind)
#A9A07D
Tritanopia (blue-blind)
#F66A7B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e4787f;
/* rgb */ color: rgb(228, 120, 127);
/* oklch */ color: oklch(69.6% 0.134 17.1);
Tailwind
colors: {
  custom: {
    50: '#f0a1a4',
    500: '#e4787f',
    950: '#000000',
  },
}
SCSS
$custom: #e4787f;
$custom-light: #f0a1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e4787f",
  "rgb": {
    "r": 228,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 356.111,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69645,
    "c": 0.13383,
    "h": 17.1
  },
  "luminance": 0.31459
}

Semantic roles & 50–950 ramp

primary
#E4787F
secondary
#CCECEA
accent
#CFC317
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#170F0F
muted
#857F7F

Preview Lab

Preview with #E4787F

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

Preview Lab → · Contrast checker → · Palette generator →

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