#E23231#E23231

#E23231 is a mid, highly saturated red. Relative luminance 0.187; OKLCH L 59.7% C 0.212 H 26.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#E23231
RGBrgb(226, 50, 49)
HSLhsl(0, 75%, 54%)
HSVhsv(0, 78%, 89%)
CMYKcmyk(0%, 77.9%, 78.3%, 11.4%)
CIE-LABlab(50.31, 65.84, 43.82)
CIE-LCHlch(50.31, 79.09, 33.65°)
OKLaboklab(59.71% 0.1891 0.0953)
OKLCHoklch(59.71% 0.212 26.7)
XYZxyz(33.0630, 18.6770, 4.7693)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E23231 #31E1E2
analogous
#E23189 #E23231 #E28B31
triadic
#E23231 #31E232 #3231E2
tetradic
#E23231 #89E231 #31E1E2 #8B31E2
square
#E23231 #89E231 #31E1E2 #8B31E2
split-complementary
#E23231 #31E28B #3189E2
monochromatic
#861313 #BB1B1A #E23231 #EA6767 #F19D9C

Accessibility & contrast

On white

4.44
#E23231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#E23231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E23231
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E23231#FFFFFF#000000##000000
##E232311.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2E
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#F90035
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #e23231;
/* rgb */ color: rgb(226, 50, 49);
/* oklch */ color: oklch(59.7% 0.212 26.7);
Tailwind
colors: {
  custom: {
    50: '#f57a6a',
    500: '#e23231',
    950: '#000000',
  },
}
SCSS
$custom: #e23231;
$custom-light: #f57a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#e23231",
  "rgb": {
    "r": 226,
    "g": 50,
    "b": 49
  },
  "hsl": {
    "h": 0.339,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59705,
    "c": 0.21177,
    "h": 26.7
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E23231

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

Preview Lab → · Contrast checker → · Palette generator →

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