#EB5151#EB5151

#EB5151 is a light, vivid red. Relative luminance 0.241; OKLCH L 64.6% C 0.190 H 24.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#EB5151
RGBrgb(235, 81, 81)
HSLhsl(0, 79%, 62%)
HSVhsv(0, 66%, 92%)
CMYKcmyk(0%, 65.5%, 65.5%, 7.8%)
CIE-LABlab(56.23, 59.21, 33.10)
CIE-LCHlch(56.23, 67.84, 29.21°)
OKLaboklab(64.55% 0.1736 0.0779)
OKLCHoklch(64.55% 0.19 24.2)
XYZxyz(38.6926, 24.1466, 10.4063)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5151 #51EBEB
analogous
#EB519E #EB5151 #EB9E51
triadic
#EB5151 #51EB51 #5151EB
tetradic
#EB5151 #9EEB51 #51EBEB #9E51EB
square
#EB5151 #9EEB51 #51EBEB #9E51EB
split-complementary
#EB5151 #51EB9E #519EEB
monochromatic
#AE1414 #E51A1A #EB5151 #F18888 #F8BFBF

Accessibility & contrast

On white

3.60
#EB5151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#EB5151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB5151
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5151#FFFFFF#000000##000000
##EB51511.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7250
Deuteranopia (green-blind)
#A1934D
Tritanopia (blue-blind)
#FF2A53
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #eb5151;
/* rgb */ color: rgb(235, 81, 81);
/* oklch */ color: oklch(64.6% 0.190 24.2);
Tailwind
colors: {
  custom: {
    50: '#f98a82',
    500: '#eb5151',
    950: '#000000',
  },
}
SCSS
$custom: #eb5151;
$custom-light: #f98a82;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5151",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 0,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64551,
    "c": 0.19028,
    "h": 24.2
  },
  "luminance": 0.24141
}

Semantic roles & 50–950 ramp

primary
#EB5151
secondary
#B0E8E8
accent
#DCDC0A
background
#FFF8F7
surface
#FFF0EE
border
#D7CBC9
text
#190C0A
muted
#867D7C

Preview Lab

Preview with #EB5151

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

Preview Lab → · Contrast checker → · Palette generator →

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