#5E2818#5E2818

#5E2818 is a dark, moderate red. Relative luminance 0.040; OKLCH L 35.0% C 0.084 H 37.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#5E2818
RGBrgb(94, 40, 24)
HSLhsl(14, 59%, 23%)
HSVhsv(14, 74%, 37%)
CMYKcmyk(0%, 57.4%, 74.5%, 63.1%)
CIE-LABlab(23.55, 23.38, 22.05)
CIE-LCHlch(23.55, 32.14, 43.32°)
OKLaboklab(34.98% 0.0665 0.0505)
OKLCHoklch(34.98% 0.084 37.2)
XYZxyz(5.5403, 3.9639, 1.3373)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2818 #184E5E
analogous
#5E182B #5E2818 #5E4B18
triadic
#5E2818 #185E28 #28185E
tetradic
#5E2818 #2B5E18 #184E5E #4B185E
square
#5E2818 #2B5E18 #184E5E #4B185E
split-complementary
#5E2818 #185E4B #182B5E
monochromatic
#180A06 #2D130C #5E2818 #8F3D24 #C05131

Accessibility & contrast

On white

11.71
#5E2818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5E2818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2818
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2818#FFFFFF#000000##FFFFFF
##5E28181.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363116
Deuteranopia (green-blind)
#443D17
Tritanopia (blue-blind)
#681D24
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e2818;
/* rgb */ color: rgb(94, 40, 24);
/* oklch */ color: oklch(35.0% 0.084 37.2);
Tailwind
colors: {
  custom: {
    50: '#906355',
    500: '#5e2818',
    950: '#000000',
  },
}
SCSS
$custom: #5e2818;
$custom-light: #906355;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2818",
  "rgb": {
    "r": 94,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 13.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34979,
    "c": 0.08356,
    "h": 37.2
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#5E2818
secondary
#3D8194
accent
#BFE345
background
#F9F6F5
surface
#F2EBE8
border
#CCC6C4
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5E2818

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

Preview Lab → · Contrast checker → · Palette generator →

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