#5B120E#5B120E

#5B120E is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.106 H 28.2°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#5B120E
RGBrgb(91, 18, 14)
HSLhsl(3, 73%, 21%)
HSVhsv(3, 85%, 36%)
CMYKcmyk(0%, 80.2%, 84.6%, 64.3%)
CIE-LABlab(18.75, 32.55, 22.44)
CIE-LCHlch(18.75, 39.54, 34.58°)
OKLaboklab(31.21% 0.0932 0.0499)
OKLCHoklch(31.21% 0.106 28.2)
XYZxyz(4.6105, 2.6892, 0.6917)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B120E #0E575B
analogous
#5B0E30 #5B120E #5B380E
triadic
#5B120E #0E5B12 #120E5B
tetradic
#5B120E #305B0E #0E575B #380E5B
square
#5B120E #305B0E #0E575B #380E5B
split-complementary
#5B120E #0E5B38 #0E305B
monochromatic
#1B0504 #260806 #5B120E #901C16 #C5271E

Accessibility & contrast

On white

13.66
#5B120E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5B120E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B120E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B120E#FFFFFF#000000##FFFFFF
##5B120E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230D
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#650012
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b120e;
/* rgb */ color: rgb(91, 18, 14);
/* oklch */ color: oklch(31.2% 0.106 28.2);
Tailwind
colors: {
  custom: {
    50: '#90574d',
    500: '#5b120e',
    950: '#000000',
  },
}
SCSS
$custom: #5b120e;
$custom-light: #90574d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b120e",
  "rgb": {
    "r": 91,
    "g": 18,
    "b": 14
  },
  "hsl": {
    "h": 3.117,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31213,
    "c": 0.10574,
    "h": 28.2
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#5B120E
secondary
#309095
accent
#E6F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5B120E

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

Preview Lab → · Contrast checker → · Palette generator →

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