#5E1E1F#5E1E1F

#5E1E1F is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.5% C 0.094 H 22.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#5E1E1F
RGBrgb(94, 30, 31)
HSLhsl(359, 52%, 24%)
HSVhsv(359, 68%, 37%)
CMYKcmyk(0%, 68.1%, 67%, 63.1%)
CIE-LABlab(21.61, 29.25, 15.12)
CIE-LCHlch(21.61, 32.93, 27.33°)
OKLaboklab(33.55% 0.0864 0.0363)
OKLCHoklch(33.55% 0.094 22.8)
XYZxyz(5.3282, 3.4079, 1.6733)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E1F #1E5E5D
analogous
#5E1E3F #5E1E1F #5E3D1E
triadic
#5E1E1F #1F5E1E #1E1F5E
tetradic
#5E1E1F #3F5E1E #1E5E5D #3D1E5E
square
#5E1E1F #3F5E1E #1E5E5D #3D1E5E
split-complementary
#5E1E1F #1E5E3D #1E3F5E
monochromatic
#170708 #300F10 #5E1E1F #8C2D2E #BB3C3E

Accessibility & contrast

On white

12.49
#5E1E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1E1F
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E1F#FFFFFF#000000##FFFFFF
##5E1E1F1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1F
Deuteranopia (green-blind)
#3F391D
Tritanopia (blue-blind)
#68101F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1e1f;
/* rgb */ color: rgb(94, 30, 31);
/* oklch */ color: oklch(33.5% 0.094 22.8);
Tailwind
colors: {
  custom: {
    50: '#915d5a',
    500: '#5e1e1f',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e1f;
$custom-light: #915d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e1f",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.063,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33548,
    "c": 0.09366,
    "h": 22.8
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#5E1E1F
secondary
#459392
accent
#DBD94D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5E1E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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