#5E1812#5E1812

#5E1812 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.5% C 0.103 H 28.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#5E1812
RGBrgb(94, 24, 18)
HSLhsl(5, 68%, 22%)
HSVhsv(5, 81%, 37%)
CMYKcmyk(0%, 74.5%, 80.9%, 63.1%)
CIE-LABlab(20.35, 31.31, 22.21)
CIE-LCHlch(20.35, 38.39, 35.35°)
OKLaboklab(32.54% 0.0899 0.0495)
OKLCHoklch(32.54% 0.103 28.9)
XYZxyz(5.0525, 3.0774, 0.9001)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1812 #12585E
analogous
#5E1232 #5E1812 #5E3E12
triadic
#5E1812 #125E18 #18125E
tetradic
#5E1812 #325E12 #12585E #3E125E
square
#5E1812 #325E12 #12585E #3E125E
split-complementary
#5E1812 #125E3E #12325E
monochromatic
#1A0705 #2B0B08 #5E1812 #91251C #C53226

Accessibility & contrast

On white

13.00
#5E1812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5E1812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1812
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1812#FFFFFF#000000##FFFFFF
##5E18121.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2711
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#680217
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e1812;
/* rgb */ color: rgb(94, 24, 18);
/* oklch */ color: oklch(32.5% 0.103 28.9);
Tailwind
colors: {
  custom: {
    50: '#925a50',
    500: '#5e1812',
    950: '#000000',
  },
}
SCSS
$custom: #5e1812;
$custom-light: #925a50;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1812",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 4.737,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32538,
    "c": 0.10262,
    "h": 28.9
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#5E1812
secondary
#358F96
accent
#DDEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5E1812

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

Preview Lab → · Contrast checker → · Palette generator →

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