#5E1712#5E1712

#5E1712 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.4% C 0.104 H 28.3°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#5E1712
RGBrgb(94, 23, 18)
HSLhsl(4, 68%, 22%)
HSVhsv(4, 81%, 37%)
CMYKcmyk(0%, 75.5%, 80.9%, 63.1%)
CIE-LABlab(20.19, 31.75, 22.03)
CIE-LCHlch(20.19, 38.65, 34.76°)
OKLaboklab(32.42% 0.0913 0.0491)
OKLCHoklch(32.42% 0.104 28.3)
XYZxyz(5.0322, 3.0369, 0.8934)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1712 #12595E
analogous
#5E1233 #5E1712 #5E3D12
triadic
#5E1712 #125E17 #17125E
tetradic
#5E1712 #335E12 #12595E #3D125E
square
#5E1712 #335E12 #12595E #3D125E
split-complementary
#5E1712 #125E3D #12335E
monochromatic
#1A0605 #2B0A08 #5E1712 #91241C #C53026

Accessibility & contrast

On white

13.07
#5E1712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5E1712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1712
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1712#FFFFFF#000000##FFFFFF
##5E17121.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1712;
/* rgb */ color: rgb(94, 23, 18);
/* oklch */ color: oklch(32.4% 0.104 28.3);
Tailwind
colors: {
  custom: {
    50: '#925950',
    500: '#5e1712',
    950: '#000000',
  },
}
SCSS
$custom: #5e1712;
$custom-light: #925950;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1712",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 18
  },
  "hsl": {
    "h": 3.947,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32419,
    "c": 0.10364,
    "h": 28.3
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#5E1712
secondary
#359096
accent
#DFEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5E1712

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

Preview Lab → · Contrast checker → · Palette generator →

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