#5B120F#5B120F

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

Color values

HEX#5B120F
RGBrgb(91, 18, 15)
HSLhsl(2, 72%, 21%)
HSVhsv(2, 84%, 36%)
CMYKcmyk(0%, 80.2%, 83.5%, 64.3%)
CIE-LABlab(18.77, 32.59, 21.94)
CIE-LCHlch(18.77, 39.29, 33.94°)
OKLaboklab(31.23% 0.0936 0.0489)
OKLCHoklch(31.23% 0.106 27.6)
XYZxyz(4.6175, 2.6920, 0.7283)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B120F #0F585B
analogous
#5B0F32 #5B120F #5B380F
triadic
#5B120F #0F5B12 #120F5B
tetradic
#5B120F #325B0F #0F585B #380F5B
square
#5B120F #325B0F #0F585B #380F5B
split-complementary
#5B120F #0F5B38 #0F325B
monochromatic
#1A0504 #260806 #5B120F #901C18 #C42720

Accessibility & contrast

On white

13.65
#5B120F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B120F
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B120F#FFFFFF#000000##FFFFFF
##5B120F1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b120f;
/* rgb */ color: rgb(91, 18, 15);
/* oklch */ color: oklch(31.2% 0.106 27.6);
Tailwind
colors: {
  custom: {
    50: '#90574e',
    500: '#5b120f',
    950: '#000000',
  },
}
SCSS
$custom: #5b120f;
$custom-light: #90574e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b120f",
  "rgb": {
    "r": 91,
    "g": 18,
    "b": 15
  },
  "hsl": {
    "h": 2.368,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31225,
    "c": 0.10558,
    "h": 27.6
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#5B120F
secondary
#319195
accent
#E7EE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5B120F

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

Preview Lab → · Contrast checker → · Palette generator →

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