#5E1817#5E1817

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

Color values

HEX#5E1817
RGBrgb(94, 24, 23)
HSLhsl(1, 61%, 23%)
HSVhsv(1, 76%, 37%)
CMYKcmyk(0%, 74.5%, 75.5%, 63.1%)
CIE-LABlab(20.42, 31.57, 19.05)
CIE-LCHlch(20.42, 36.87, 31.11°)
OKLaboklab(32.62% 0.0919 0.0438)
OKLCHoklch(32.62% 0.102 25.5)
XYZxyz(5.0979, 3.0956, 1.1395)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1817 #175D5E
analogous
#5E1739 #5E1817 #5E3B17
triadic
#5E1817 #175E18 #18175E
tetradic
#5E1817 #395E17 #175D5E #3B175E
square
#5E1817 #395E17 #175D5E #3B175E
split-complementary
#5E1817 #175E3B #17395E
monochromatic
#190606 #2D0B0B #5E1817 #8F2523 #C0312F

Accessibility & contrast

On white

12.97
#5E1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1817
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1817#FFFFFF#000000##FFFFFF
##5E18171.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2816
Deuteranopia (green-blind)
#3D3715
Tritanopia (blue-blind)
#680319
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e1817;
/* rgb */ color: rgb(94, 24, 23);
/* oklch */ color: oklch(32.6% 0.102 25.5);
Tailwind
colors: {
  custom: {
    50: '#925a54',
    500: '#5e1817',
    950: '#000000',
  },
}
SCSS
$custom: #5e1817;
$custom-light: #925a54;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1817",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.845,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32615,
    "c": 0.10176,
    "h": 25.5
  },
  "luminance": 0.03095
}

Semantic roles & 50–950 ramp

primary
#5E1817
secondary
#3C9395
accent
#E2E444
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5E1817

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

Preview Lab → · Contrast checker → · Palette generator →

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