#EB5252#EB5252

#EB5252 is a light, vivid red. Relative luminance 0.243; OKLCH L 64.7% C 0.189 H 24.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#EB5252
RGBrgb(235, 82, 82)
HSLhsl(0, 79%, 62%)
HSVhsv(0, 65%, 92%)
CMYKcmyk(0%, 65.1%, 65.1%, 7.8%)
CIE-LABlab(56.40, 58.86, 32.73)
CIE-LCHlch(56.40, 67.35, 29.08°)
OKLaboklab(64.68% 0.1727 0.0772)
OKLCHoklch(64.68% 0.189 24.1)
XYZxyz(38.8052, 24.3114, 10.6302)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5252 #52EBEB
analogous
#EB529F #EB5252 #EB9F52
triadic
#EB5252 #52EB52 #5252EB
tetradic
#EB5252 #9FEB52 #52EBEB #9F52EB
square
#EB5252 #9FEB52 #52EBEB #9F52EB
split-complementary
#EB5252 #52EB9F #529FEB
monochromatic
#AE1414 #E51B1B #EB5252 #F18989 #F8C0C0

Accessibility & contrast

On white

3.58
#EB5252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#EB5252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB5252
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5252#FFFFFF#000000##000000
##EB52521.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7251
Deuteranopia (green-blind)
#A1934E
Tritanopia (blue-blind)
#FF2D54
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #eb5252;
/* rgb */ color: rgb(235, 82, 82);
/* oklch */ color: oklch(64.7% 0.189 24.1);
Tailwind
colors: {
  custom: {
    50: '#f98a82',
    500: '#eb5252',
    950: '#000000',
  },
}
SCSS
$custom: #eb5252;
$custom-light: #f98a82;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5252",
  "rgb": {
    "r": 235,
    "g": 82,
    "b": 82
  },
  "hsl": {
    "h": 0,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64679,
    "c": 0.18917,
    "h": 24.1
  },
  "luminance": 0.24306
}

Semantic roles & 50–950 ramp

primary
#EB5252
secondary
#B0E8E8
accent
#DCDC0A
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#190C0A
muted
#867D7C

Preview Lab

Preview with #EB5252

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

Preview Lab → · Contrast checker → · Palette generator →

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