#EA5157#EA5157

#EA5157 is a light, vivid red. Relative luminance 0.241; OKLCH L 64.5% C 0.189 H 22.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#EA5157
RGBrgb(234, 81, 87)
HSLhsl(358, 78%, 62%)
HSVhsv(358, 65%, 92%)
CMYKcmyk(0%, 65.4%, 62.8%, 8.2%)
CIE-LABlab(56.16, 59.24, 29.52)
CIE-LCHlch(56.16, 66.19, 26.49°)
OKLaboklab(64.49% 0.1749 0.0705)
OKLCHoklch(64.49% 0.189 22)
XYZxyz(38.5983, 24.0708, 11.6286)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA5157 #51EAE4
analogous
#EA51A4 #EA5157 #EA9851
triadic
#EA5157 #57EA51 #5157EA
tetradic
#EA5157 #A4EA51 #51EAE4 #9851EA
square
#EA5157 #A4EA51 #51EAE4 #9851EA
split-complementary
#EA5157 #51EA98 #51A4EA
monochromatic
#AC151B #E21B23 #EA5157 #F1888C #F7BEC0

Accessibility & contrast

On white

3.61
#EA5157 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#EA5157 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EA5157
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA5157#FFFFFF#000000##000000
##EA51571.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#797256
Deuteranopia (green-blind)
#A09353
Tritanopia (blue-blind)
#FF2D55
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ea5157;
/* rgb */ color: rgb(234, 81, 87);
/* oklch */ color: oklch(64.5% 0.189 22.0);
Tailwind
colors: {
  custom: {
    50: '#f88a86',
    500: '#ea5157',
    950: '#000000',
  },
}
SCSS
$custom: #ea5157;
$custom-light: #f88a86;
$custom-dark: #000000;
JSON
{
  "hex": "#ea5157",
  "rgb": {
    "r": 234,
    "g": 81,
    "b": 87
  },
  "hsl": {
    "h": 357.647,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64493,
    "c": 0.18863,
    "h": 22
  },
  "luminance": 0.24065
}

Semantic roles & 50–950 ramp

primary
#EA5157
secondary
#AFE8E6
accent
#DBD30B
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#190C0B
muted
#877D7C

Preview Lab

Preview with #EA5157

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

Preview Lab → · Contrast checker → · Palette generator →

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