#5E121A#5E121A

#5E121A is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.108 H 20.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#5E121A
RGBrgb(94, 18, 26)
HSLhsl(354, 68%, 22%)
HSVhsv(354, 81%, 37%)
CMYKcmyk(0%, 80.9%, 72.3%, 63.1%)
CIE-LABlab(19.59, 34.19, 16.00)
CIE-LCHlch(19.59, 37.75, 25.08°)
OKLaboklab(32.01% 0.1009 0.0376)
OKLCHoklch(32.01% 0.108 20.4)
XYZxyz(5.0194, 2.8876, 1.2702)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E121A #125E56
analogous
#5E1240 #5E121A #5E3012
triadic
#5E121A #1A5E12 #121A5E
tetradic
#5E121A #405E12 #125E56 #30125E
square
#5E121A #405E12 #125E56 #30125E
split-complementary
#5E121A #125E30 #12405E
monochromatic
#1A0507 #2B080C #5E121A #911C28 #C52636

Accessibility & contrast

On white

13.31
#5E121A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E121A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E121A#FFFFFF#000000##FFFFFF
##5E121A1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251A
Deuteranopia (green-blind)
#3B3518
Tritanopia (blue-blind)
#680016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e121a;
/* rgb */ color: rgb(94, 18, 26);
/* oklch */ color: oklch(32.0% 0.108 20.4);
Tailwind
colors: {
  custom: {
    50: '#925756',
    500: '#5e121a',
    950: '#000000',
  },
}
SCSS
$custom: #5e121a;
$custom-light: #925756;
$custom-dark: #000000;
JSON
{
  "hex": "#5e121a",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 26
  },
  "hsl": {
    "h": 353.684,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32009,
    "c": 0.10769,
    "h": 20.4
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#5E121A
secondary
#35968C
accent
#EBD83D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5E121A

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

Preview Lab → · Contrast checker → · Palette generator →

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