#5E1F0F#5E1F0F

#5E1F0F is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.4% C 0.096 H 35.2°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#5E1F0F
RGBrgb(94, 31, 15)
HSLhsl(12, 72%, 21%)
HSVhsv(12, 84%, 37%)
CMYKcmyk(0%, 67%, 84%, 63.1%)
CIE-LABlab(21.56, 27.83, 25.25)
CIE-LCHlch(21.56, 37.57, 42.22°)
OKLaboklab(33.44% 0.0784 0.0553)
OKLCHoklch(33.44% 0.096 35.2)
XYZxyz(5.1929, 3.3949, 0.8337)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1F0F #0F4E5E
analogous
#5E0F27 #5E1F0F #5E470F
triadic
#5E1F0F #0F5E1F #1F0F5E
tetradic
#5E1F0F #275E0F #0F4E5E #470F5E
square
#5E1F0F #275E0F #0F4E5E #470F5E
split-complementary
#5E1F0F #0F5E47 #0F275E
monochromatic
#1A0904 #290E07 #5E1F0F #933017 #C84220

Accessibility & contrast

On white

12.51
#5E1F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5E1F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1F0F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1F0F#FFFFFF#000000##FFFFFF
##5E1F0F1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0D
Deuteranopia (green-blind)
#40390D
Tritanopia (blue-blind)
#680F1C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1f0f;
/* rgb */ color: rgb(94, 31, 15);
/* oklch */ color: oklch(33.4% 0.096 35.2);
Tailwind
colors: {
  custom: {
    50: '#925e4e',
    500: '#5e1f0f',
    950: '#000000',
  },
}
SCSS
$custom: #5e1f0f;
$custom-light: #925e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1f0f",
  "rgb": {
    "r": 94,
    "g": 31,
    "b": 15
  },
  "hsl": {
    "h": 12.152,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33436,
    "c": 0.09593,
    "h": 35.2
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#5E1F0F
secondary
#318397
accent
#CAEF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5E1F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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