#5E131A#5E131A

#5E131A is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.107 H 20.8°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#5E131A
RGBrgb(94, 19, 26)
HSLhsl(354, 66%, 22%)
HSVhsv(354, 80%, 37%)
CMYKcmyk(0%, 79.8%, 72.3%, 63.1%)
CIE-LABlab(19.72, 33.81, 16.17)
CIE-LCHlch(19.72, 37.48, 25.55°)
OKLaboklab(32.11% 0.0997 0.038)
OKLCHoklch(32.11% 0.107 20.8)
XYZxyz(5.0360, 2.9208, 1.2757)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E131A #135E57
analogous
#5E1340 #5E131A #5E3213
triadic
#5E131A #1A5E13 #131A5E
tetradic
#5E131A #405E13 #135E57 #32135E
square
#5E131A #405E13 #135E57 #32135E
split-complementary
#5E131A #135E32 #13405E
monochromatic
#190507 #2B090C #5E131A #911D28 #C42836

Accessibility & contrast

On white

13.26
#5E131A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5E131A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E131A
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E131A#FFFFFF#000000##FFFFFF
##5E131A1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261A
Deuteranopia (green-blind)
#3B3518
Tritanopia (blue-blind)
#680016
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e131a;
/* rgb */ color: rgb(94, 19, 26);
/* oklch */ color: oklch(32.1% 0.107 20.8);
Tailwind
colors: {
  custom: {
    50: '#925856',
    500: '#5e131a',
    950: '#000000',
  },
}
SCSS
$custom: #5e131a;
$custom-light: #925856;
$custom-dark: #000000;
JSON
{
  "hex": "#5e131a",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 26
  },
  "hsl": {
    "h": 354.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3211,
    "c": 0.10669,
    "h": 20.8
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#5E131A
secondary
#37968D
accent
#E9D93F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5E131A

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

Preview Lab → · Contrast checker → · Palette generator →

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