#E23131#E23131

#E23131 is a mid, highly saturated red. Relative luminance 0.186; OKLCH L 59.6% C 0.212 H 26.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#E23131
RGBrgb(226, 49, 49)
HSLhsl(0, 75%, 54%)
HSVhsv(0, 78%, 89%)
CMYKcmyk(0%, 78.3%, 78.3%, 11.4%)
CIE-LABlab(50.21, 66.12, 43.72)
CIE-LCHlch(50.21, 79.27, 33.47°)
OKLaboklab(59.63% 0.19 0.0951)
OKLCHoklch(59.63% 0.212 26.6)
XYZxyz(33.0207, 18.5924, 4.7552)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E23131 #31E2E2
analogous
#E2318A #E23131 #E28A31
triadic
#E23131 #31E231 #3131E2
tetradic
#E23131 #8AE231 #31E2E2 #8A31E2
square
#E23131 #8AE231 #31E2E2 #8A31E2
split-complementary
#E23131 #31E28A #318AE2
monochromatic
#861313 #BB1A1A #E23131 #EA6767 #F19C9C

Accessibility & contrast

On white

4.45
#E23131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#E23131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E23131
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E23131#FFFFFF#000000##000000
##E231311.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#695F2F
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#F90034
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #e23131;
/* rgb */ color: rgb(226, 49, 49);
/* oklch */ color: oklch(59.6% 0.212 26.6);
Tailwind
colors: {
  custom: {
    50: '#f5796a',
    500: '#e23131',
    950: '#000000',
  },
}
SCSS
$custom: #e23131;
$custom-light: #f5796a;
$custom-dark: #000000;
JSON
{
  "hex": "#e23131",
  "rgb": {
    "r": 226,
    "g": 49,
    "b": 49
  },
  "hsl": {
    "h": 0,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5963,
    "c": 0.21247,
    "h": 26.6
  },
  "luminance": 0.18587
}

Semantic roles & 50–950 ramp

primary
#E23131
secondary
#92DDDD
accent
#F2F236
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#190A06
muted
#867C7A

Preview Lab

Preview with #E23131

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

Preview Lab → · Contrast checker → · Palette generator →

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