#5E120F#5E120F

#5E120F is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.8% C 0.109 H 27.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#5E120F
RGBrgb(94, 18, 15)
HSLhsl(2, 72%, 21%)
HSVhsv(2, 84%, 37%)
CMYKcmyk(0%, 80.9%, 84%, 63.1%)
CIE-LABlab(19.42, 33.65, 22.87)
CIE-LCHlch(19.42, 40.68, 34.20°)
OKLaboklab(31.83% 0.0965 0.0506)
OKLCHoklch(31.83% 0.109 27.6)
XYZxyz(4.9192, 2.8476, 0.7425)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E120F #0F5B5E
analogous
#5E0F34 #5E120F #5E3A0F
triadic
#5E120F #0F5E12 #120F5E
tetradic
#5E120F #345E0F #0F5B5E #3A0F5E
square
#5E120F #345E0F #0F5B5E #3A0F5E
split-complementary
#5E120F #0F5E3A #0F345E
monochromatic
#1A0504 #290807 #5E120F #931C17 #C82620

Accessibility & contrast

On white

13.38
#5E120F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5E120F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E120F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E120F#FFFFFF#000000##FFFFFF
##5E120F1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240E
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#680012
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e120f;
/* rgb */ color: rgb(94, 18, 15);
/* oklch */ color: oklch(31.8% 0.109 27.6);
Tailwind
colors: {
  custom: {
    50: '#93574e',
    500: '#5e120f',
    950: '#000000',
  },
}
SCSS
$custom: #5e120f;
$custom-light: #93574e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e120f",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 15
  },
  "hsl": {
    "h": 2.278,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31833,
    "c": 0.10895,
    "h": 27.6
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#5E120F
secondary
#319397
accent
#E8EF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5E120F

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

Preview Lab → · Contrast checker → · Palette generator →

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