#5E1B2A#5E1B2A

#5E1B2A is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.4% C 0.098 H 10.8°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#5E1B2A
RGBrgb(94, 27, 42)
HSLhsl(347, 55%, 24%)
HSVhsv(347, 71%, 37%)
CMYKcmyk(0%, 71.3%, 55.3%, 63.1%)
CIE-LABlab(21.32, 31.64, 7.15)
CIE-LCHlch(21.32, 32.44, 12.74°)
OKLaboklab(33.42% 0.0959 0.0182)
OKLCHoklch(33.42% 0.098 10.8)
XYZxyz(5.4264, 3.3314, 2.5473)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1B2A #1B5E4F
analogous
#5E1B4B #5E1B2A #5E2D1B
triadic
#5E1B2A #2A5E1B #1B2A5E
tetradic
#5E1B2A #4B5E1B #1B5E4F #2D1B5E
square
#5E1B2A #4B5E1B #1B5E4F #2D1B5E
split-complementary
#5E1B2A #1B5E2D #1B4B5E
monochromatic
#18070B #2E0D15 #5E1B2A #8E293F #BD3654

Accessibility & contrast

On white

12.60
#5E1B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E1B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1B2A
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1B2A#FFFFFF#000000##FFFFFF
##5E1B2A1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2B2A
Deuteranopia (green-blind)
#3C3828
Tritanopia (blue-blind)
#670F21
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1b2a;
/* rgb */ color: rgb(94, 27, 42);
/* oklch */ color: oklch(33.4% 0.098 10.8);
Tailwind
colors: {
  custom: {
    50: '#905c63',
    500: '#5e1b2a',
    950: '#000000',
  },
}
SCSS
$custom: #5e1b2a;
$custom-light: #905c63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1b2a",
  "rgb": {
    "r": 94,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 346.567,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33418,
    "c": 0.09761,
    "h": 10.8
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#5E1B2A
secondary
#419481
accent
#DFBD49
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E1B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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