#E23331#E23331

#E23331 is a mid, highly saturated red. Relative luminance 0.188; OKLCH L 59.8% C 0.211 H 26.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#E23331
RGBrgb(226, 51, 49)
HSLhsl(1, 75%, 54%)
HSVhsv(1, 78%, 89%)
CMYKcmyk(0%, 77.4%, 78.3%, 11.4%)
CIE-LABlab(50.41, 65.55, 43.93)
CIE-LCHlch(50.41, 78.91, 33.83°)
OKLaboklab(59.78% 0.1882 0.0955)
OKLCHoklch(59.78% 0.211 26.9)
XYZxyz(33.1063, 18.7635, 4.7837)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E23331 #31E0E2
analogous
#E23188 #E23331 #E28C31
triadic
#E23331 #31E233 #3331E2
tetradic
#E23331 #88E231 #31E0E2 #8C31E2
square
#E23331 #88E231 #31E0E2 #8C31E2
split-complementary
#E23331 #31E28C #3188E2
monochromatic
#861413 #BB1C1A #E23331 #EA6867 #F19D9C

Accessibility & contrast

On white

4.42
#E23331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#E23331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E23331
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E23331#FFFFFF#000000##000000
##E233311.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e23331;
/* rgb */ color: rgb(226, 51, 49);
/* oklch */ color: oklch(59.8% 0.211 26.9);
Tailwind
colors: {
  custom: {
    50: '#f57a6a',
    500: '#e23331',
    950: '#000000',
  },
}
SCSS
$custom: #e23331;
$custom-light: #f57a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#e23331",
  "rgb": {
    "r": 226,
    "g": 51,
    "b": 49
  },
  "hsl": {
    "h": 0.678,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59781,
    "c": 0.21108,
    "h": 26.9
  },
  "luminance": 0.18758
}

Semantic roles & 50–950 ramp

primary
#E23331
secondary
#92DCDD
accent
#F0F236
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#190A06
muted
#867C7A

Preview Lab

Preview with #E23331

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

Preview Lab → · Contrast checker → · Palette generator →

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