#EB5257#EB5257

#EB5257 is a light, vivid red. Relative luminance 0.244; OKLCH L 64.8% C 0.189 H 22.3°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#EB5257
RGBrgb(235, 82, 87)
HSLhsl(358, 79%, 62%)
HSVhsv(358, 65%, 92%)
CMYKcmyk(0%, 65.1%, 63%, 7.8%)
CIE-LABlab(56.48, 59.15, 29.96)
CIE-LCHlch(56.48, 66.31, 26.86°)
OKLaboklab(64.76% 0.1746 0.0715)
OKLCHoklch(64.76% 0.189 22.3)
XYZxyz(39.0024, 24.3903, 11.6690)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5257 #52EBE6
analogous
#EB52A4 #EB5257 #EB9952
triadic
#EB5257 #57EB52 #5257EB
tetradic
#EB5257 #A4EB52 #52EBE6 #9952EB
square
#EB5257 #A4EB52 #52EBE6 #9952EB
split-complementary
#EB5257 #52EB99 #52A4EB
monochromatic
#AE1419 #E51B22 #EB5257 #F1898C #F8C0C2

Accessibility & contrast

On white

3.57
#EB5257 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#EB5257 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB5257
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5257#FFFFFF#000000##000000
##EB52571.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7356
Deuteranopia (green-blind)
#A19353
Tritanopia (blue-blind)
#FF2E55
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #eb5257;
/* rgb */ color: rgb(235, 82, 87);
/* oklch */ color: oklch(64.8% 0.189 22.3);
Tailwind
colors: {
  custom: {
    50: '#f98a86',
    500: '#eb5257',
    950: '#000000',
  },
}
SCSS
$custom: #eb5257;
$custom-light: #f98a86;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5257",
  "rgb": {
    "r": 235,
    "g": 82,
    "b": 87
  },
  "hsl": {
    "h": 358.039,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64763,
    "c": 0.18864,
    "h": 22.3
  },
  "luminance": 0.24385
}

Semantic roles & 50–950 ramp

primary
#EB5257
secondary
#B0E8E7
accent
#DCD50A
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#190C0B
muted
#877D7C

Preview Lab

Preview with #EB5257

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

Preview Lab → · Contrast checker → · Palette generator →

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