#5E180F#5E180F

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

Color values

HEX#5E180F
RGBrgb(94, 24, 15)
HSLhsl(7, 72%, 21%)
HSVhsv(7, 84%, 37%)
CMYKcmyk(0%, 74.5%, 84%, 63.1%)
CIE-LABlab(20.32, 31.18, 23.88)
CIE-LCHlch(20.32, 39.28, 37.44°)
OKLaboklab(32.5% 0.0888 0.0526)
OKLCHoklch(32.5% 0.103 30.6)
XYZxyz(5.0295, 3.0682, 0.7792)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E180F #0F555E
analogous
#5E0F2E #5E180F #5E400F
triadic
#5E180F #0F5E18 #180F5E
tetradic
#5E180F #2E5E0F #0F555E #400F5E
square
#5E180F #2E5E0F #0F555E #400F5E
split-complementary
#5E180F #0F5E40 #0F2E5E
monochromatic
#1A0704 #290B07 #5E180F #932517 #C83320

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E180F#FFFFFF#000000##FFFFFF
##5E180F1.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)
#2C270D
Deuteranopia (green-blind)
#3E370C
Tritanopia (blue-blind)
#680117
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e180f;
/* rgb */ color: rgb(94, 24, 15);
/* oklch */ color: oklch(32.5% 0.103 30.6);
Tailwind
colors: {
  custom: {
    50: '#925a4e',
    500: '#5e180f',
    950: '#000000',
  },
}
SCSS
$custom: #5e180f;
$custom-light: #925a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e180f",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 15
  },
  "hsl": {
    "h": 6.835,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.325,
    "c": 0.10319,
    "h": 30.6
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#5E180F
secondary
#318C97
accent
#DAEF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5E180F

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

Preview Lab → · Contrast checker → · Palette generator →

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