#5E1B2B#5E1B2B

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

Color values

HEX#5E1B2B
RGBrgb(94, 27, 43)
HSLhsl(346, 55%, 24%)
HSVhsv(346, 71%, 37%)
CMYKcmyk(0%, 71.3%, 54.3%, 63.1%)
CIE-LABlab(21.35, 31.74, 6.49)
CIE-LCHlch(21.35, 32.40, 11.56°)
OKLaboklab(33.45% 0.0963 0.0167)
OKLCHoklch(33.45% 0.098 9.8)
XYZxyz(5.4445, 3.3387, 2.6428)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1B2B #1B5E4E
analogous
#5E1B4C #5E1B2B #5E2C1B
triadic
#5E1B2B #2B5E1B #1B2B5E
tetradic
#5E1B2B #4C5E1B #1B5E4E #2C1B5E
square
#5E1B2B #4C5E1B #1B5E4E #2C1B5E
split-complementary
#5E1B2B #1B5E2C #1B4C5E
monochromatic
#18070B #2E0D15 #5E1B2B #8E2941 #BD3656

Accessibility & contrast

On white

12.59
#5E1B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1B2B
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1B2B#FFFFFF#000000##FFFFFF
##5E1B2B1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2B
Deuteranopia (green-blind)
#3C3829
Tritanopia (blue-blind)
#671021
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1b2b;
/* rgb */ color: rgb(94, 27, 43);
/* oklch */ color: oklch(33.4% 0.098 9.8);
Tailwind
colors: {
  custom: {
    50: '#905c64',
    500: '#5e1b2b',
    950: '#000000',
  },
}
SCSS
$custom: #5e1b2b;
$custom-light: #905c64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1b2b",
  "rgb": {
    "r": 94,
    "g": 27,
    "b": 43
  },
  "hsl": {
    "h": 345.672,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33447,
    "c": 0.09776,
    "h": 9.8
  },
  "luminance": 0.03338
}

Semantic roles & 50–950 ramp

primary
#5E1B2B
secondary
#419480
accent
#DFBB49
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E1B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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