#5B100F#5B100F

#5B100F is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.0% C 0.107 H 26.7°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#5B100F
RGBrgb(91, 16, 15)
HSLhsl(1, 72%, 21%)
HSVhsv(1, 84%, 36%)
CMYKcmyk(0%, 82.4%, 83.5%, 64.3%)
CIE-LABlab(18.50, 33.34, 21.62)
CIE-LCHlch(18.50, 39.74, 32.96°)
OKLaboklab(31.03% 0.0959 0.0483)
OKLCHoklch(31.03% 0.107 26.7)
XYZxyz(4.5864, 2.6299, 0.7180)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B100F #0F5A5B
analogous
#5B0F34 #5B100F #5B360F
triadic
#5B100F #0F5B10 #100F5B
tetradic
#5B100F #345B0F #0F5A5B #360F5B
square
#5B100F #345B0F #0F5A5B #360F5B
split-complementary
#5B100F #0F5B36 #0F345B
monochromatic
#1A0504 #260706 #5B100F #901918 #C42220

Accessibility & contrast

On white

13.76
#5B100F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5B100F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B100F
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B100F#FFFFFF#000000##FFFFFF
##5B100F1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27230E
Deuteranopia (green-blind)
#3A330C
Tritanopia (blue-blind)
#650011
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b100f;
/* rgb */ color: rgb(91, 16, 15);
/* oklch */ color: oklch(31.0% 0.107 26.7);
Tailwind
colors: {
  custom: {
    50: '#90564e',
    500: '#5b100f',
    950: '#000000',
  },
}
SCSS
$custom: #5b100f;
$custom-light: #90564e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b100f",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 15
  },
  "hsl": {
    "h": 0.789,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31025,
    "c": 0.1074,
    "h": 26.7
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#5B100F
secondary
#319395
accent
#ECEE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5B100F

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

Preview Lab → · Contrast checker → · Palette generator →

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