#5E180D#5E180D

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

Color values

HEX#5E180D
RGBrgb(94, 24, 13)
HSLhsl(8, 76%, 21%)
HSVhsv(8, 86%, 37%)
CMYKcmyk(0%, 74.5%, 86.2%, 63.1%)
CIE-LABlab(20.29, 31.11, 24.87)
CIE-LCHlch(20.29, 39.82, 38.64°)
OKLaboklab(32.48% 0.0881 0.0544)
OKLCHoklch(32.48% 0.104 31.7)
XYZxyz(5.0160, 3.0628, 0.7078)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E180D #0D535E
analogous
#5E0D2A #5E180D #5E400D
triadic
#5E180D #0D5E18 #180D5E
tetradic
#5E180D #2A5E0D #0D535E #400D5E
square
#5E180D #2A5E0D #0D535E #400D5E
split-complementary
#5E180D #0D5E40 #0D2A5E
monochromatic
#1B0704 #280A06 #5E180D #942614 #CA331C

Accessibility & contrast

On white

13.02
#5E180D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E180D
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E180D#FFFFFF#000000##FFFFFF
##5E180D1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D270B
Deuteranopia (green-blind)
#3E370A
Tritanopia (blue-blind)
#680116
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e180d;
/* rgb */ color: rgb(94, 24, 13);
/* oklch */ color: oklch(32.5% 0.104 31.7);
Tailwind
colors: {
  custom: {
    50: '#935a4d',
    500: '#5e180d',
    950: '#000000',
  },
}
SCSS
$custom: #5e180d;
$custom-light: #935a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e180d",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 13
  },
  "hsl": {
    "h": 8.148,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32477,
    "c": 0.10358,
    "h": 31.7
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#5E180D
secondary
#2F8A98
accent
#D9F236
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5E180D

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

Preview Lab → · Contrast checker → · Palette generator →

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