#5E121F#5E121F

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

Color values

HEX#5E121F
RGBrgb(94, 18, 31)
HSLhsl(350, 68%, 22%)
HSVhsv(350, 81%, 37%)
CMYKcmyk(0%, 80.9%, 67%, 63.1%)
CIE-LABlab(19.69, 34.52, 12.64)
CIE-LCHlch(19.69, 36.76, 20.11°)
OKLaboklab(32.12% 0.1031 0.0306)
OKLCHoklch(32.12% 0.108 16.5)
XYZxyz(5.0803, 2.9120, 1.5906)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E121F #125E51
analogous
#5E1245 #5E121F #5E2B12
triadic
#5E121F #1F5E12 #121F5E
tetradic
#5E121F #455E12 #125E51 #2B125E
square
#5E121F #455E12 #125E51 #2B125E
split-complementary
#5E121F #125E2B #12455E
monochromatic
#1A0508 #2B080E #5E121F #911C30 #C52641

Accessibility & contrast

On white

13.27
#5E121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E121F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E121F#FFFFFF#000000##FFFFFF
##5E121F1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#3B351D
Tritanopia (blue-blind)
#680018
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e121f;
/* rgb */ color: rgb(94, 18, 31);
/* oklch */ color: oklch(32.1% 0.108 16.5);
Tailwind
colors: {
  custom: {
    50: '#91585a',
    500: '#5e121f',
    950: '#000000',
  },
}
SCSS
$custom: #5e121f;
$custom-light: #91585a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e121f",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 349.737,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32115,
    "c": 0.10756,
    "h": 16.5
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#5E121F
secondary
#359686
accent
#EBCD3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5E121F

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

Preview Lab → · Contrast checker → · Palette generator →

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