#5E1A22#5E1A22

#5E1A22 is a dark, moderate red. Relative luminance 0.032; OKLCH L 33.1% C 0.098 H 17.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#5E1A22
RGBrgb(94, 26, 34)
HSLhsl(353, 57%, 24%)
HSVhsv(353, 72%, 37%)
CMYKcmyk(0%, 72.3%, 63.8%, 63.1%)
CIE-LABlab(20.96, 31.41, 12.22)
CIE-LCHlch(20.96, 33.70, 21.26°)
OKLaboklab(33.08% 0.0938 0.0299)
OKLCHoklch(33.08% 0.098 17.7)
XYZxyz(5.2747, 3.2347, 1.8597)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A22 #1A5E56
analogous
#5E1A44 #5E1A22 #5E341A
triadic
#5E1A22 #225E1A #1A225E
tetradic
#5E1A22 #445E1A #1A5E56 #341A5E
square
#5E1A22 #445E1A #1A5E56 #341A5E
split-complementary
#5E1A22 #1A5E34 #1A445E
monochromatic
#180709 #2E0D11 #5E1A22 #8E2733 #BE3545

Accessibility & contrast

On white

12.75
#5E1A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5E1A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1A22
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A22#FFFFFF#000000##FFFFFF
##5E1A221.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2922
Deuteranopia (green-blind)
#3D3820
Tritanopia (blue-blind)
#670B1D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1a22;
/* rgb */ color: rgb(94, 26, 34);
/* oklch */ color: oklch(33.1% 0.098 17.7);
Tailwind
colors: {
  custom: {
    50: '#915b5c',
    500: '#5e1a22',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a22;
$custom-light: #915b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a22",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 34
  },
  "hsl": {
    "h": 352.941,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33083,
    "c": 0.09844,
    "h": 17.7
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#5E1A22
secondary
#40948A
accent
#E0CE48
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0404
muted
#7E7979

Preview Lab

Preview with #5E1A22

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

Preview Lab → · Contrast checker → · Palette generator →

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