#5E180E#5E180E

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

Color values

HEX#5E180E
RGBrgb(94, 24, 14)
HSLhsl(8, 74%, 21%)
HSVhsv(8, 85%, 37%)
CMYKcmyk(0%, 74.5%, 85.1%, 63.1%)
CIE-LABlab(20.30, 31.15, 24.39)
CIE-LCHlch(20.30, 39.56, 38.06°)
OKLaboklab(32.49% 0.0885 0.0535)
OKLCHoklch(32.49% 0.103 31.2)
XYZxyz(5.0226, 3.0654, 0.7426)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E180E #0E545E
analogous
#5E0E2C #5E180E #5E400E
triadic
#5E180E #0E5E18 #180E5E
tetradic
#5E180E #2C5E0E #0E545E #400E5E
square
#5E180E #2C5E0E #0E545E #400E5E
split-complementary
#5E180E #0E5E40 #0E2C5E
monochromatic
#1B0704 #290A06 #5E180E #932616 #C9331E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E180E#FFFFFF#000000##FFFFFF
##5E180E1.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)
#2D270C
Deuteranopia (green-blind)
#3E370B
Tritanopia (blue-blind)
#680116
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e180e;
/* rgb */ color: rgb(94, 24, 14);
/* oklch */ color: oklch(32.5% 0.103 31.2);
Tailwind
colors: {
  custom: {
    50: '#925a4d',
    500: '#5e180e',
    950: '#000000',
  },
}
SCSS
$custom: #5e180e;
$custom-light: #925a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e180e",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 14
  },
  "hsl": {
    "h": 7.5,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32488,
    "c": 0.10338,
    "h": 31.2
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#5E180E
secondary
#308B98
accent
#DAF137
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5E180E

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

Preview Lab → · Contrast checker → · Palette generator →

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