#5E1822#5E1822

#5E1822 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.8% C 0.101 H 16.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#5E1822
RGBrgb(94, 24, 34)
HSLhsl(351, 59%, 23%)
HSVhsv(351, 74%, 37%)
CMYKcmyk(0%, 74.5%, 63.8%, 63.1%)
CIE-LABlab(20.63, 32.31, 11.78)
CIE-LCHlch(20.63, 34.39, 20.04°)
OKLaboklab(32.84% 0.0967 0.0289)
OKLCHoklch(32.84% 0.101 16.6)
XYZxyz(5.2320, 3.1492, 1.8454)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1822 #185E54
analogous
#5E1845 #5E1822 #5E3118
triadic
#5E1822 #225E18 #18225E
tetradic
#5E1822 #455E18 #185E54 #31185E
square
#5E1822 #455E18 #185E54 #31185E
split-complementary
#5E1822 #185E31 #18455E
monochromatic
#180609 #2D0C10 #5E1822 #8F2434 #C03145

Accessibility & contrast

On white

12.89
#5E1822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5E1822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1822
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1822#FFFFFF#000000##FFFFFF
##5E18221.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2822
Deuteranopia (green-blind)
#3C3720
Tritanopia (blue-blind)
#67071C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1822;
/* rgb */ color: rgb(94, 24, 34);
/* oklch */ color: oklch(32.8% 0.101 16.6);
Tailwind
colors: {
  custom: {
    50: '#915a5c',
    500: '#5e1822',
    950: '#000000',
  },
}
SCSS
$custom: #5e1822;
$custom-light: #915a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1822",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 34
  },
  "hsl": {
    "h": 351.429,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32838,
    "c": 0.10089,
    "h": 16.6
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#5E1822
secondary
#3D9488
accent
#E3CC45
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0404
muted
#7E7979

Preview Lab

Preview with #5E1822

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

Preview Lab → · Contrast checker → · Palette generator →

#5E1822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva