#5E1815#5E1815

#5E1815 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.102 H 26.9°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#5E1815
RGBrgb(94, 24, 21)
HSLhsl(2, 63%, 23%)
HSVhsv(2, 78%, 37%)
CMYKcmyk(0%, 74.5%, 77.7%, 63.1%)
CIE-LABlab(20.39, 31.46, 20.34)
CIE-LCHlch(20.39, 37.46, 32.88°)
OKLaboklab(32.58% 0.091 0.0462)
OKLCHoklch(32.58% 0.102 26.9)
XYZxyz(5.0786, 3.0878, 1.0379)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1815 #155B5E
analogous
#5E1536 #5E1815 #5E3D15
triadic
#5E1815 #155E18 #18155E
tetradic
#5E1815 #365E15 #155B5E #3D155E
square
#5E1815 #365E15 #155B5E #3D155E
split-complementary
#5E1815 #155E3D #15365E
monochromatic
#190606 #2C0B0A #5E1815 #902520 #C2322B

Accessibility & contrast

On white

12.98
#5E1815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5E1815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1815
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1815#FFFFFF#000000##FFFFFF
##5E18151.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2714
Deuteranopia (green-blind)
#3D3713
Tritanopia (blue-blind)
#680318
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e1815;
/* rgb */ color: rgb(94, 24, 21);
/* oklch */ color: oklch(32.6% 0.102 26.9);
Tailwind
colors: {
  custom: {
    50: '#925a52',
    500: '#5e1815',
    950: '#000000',
  },
}
SCSS
$custom: #5e1815;
$custom-light: #925a52;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1815",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 21
  },
  "hsl": {
    "h": 2.466,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32582,
    "c": 0.10208,
    "h": 26.9
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#5E1815
secondary
#399295
accent
#E0E741
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5E1815

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

Preview Lab → · Contrast checker → · Palette generator →

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