#5B130F#5B130F

#5B130F is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.3% C 0.105 H 28.1°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#5B130F
RGBrgb(91, 19, 15)
HSLhsl(3, 72%, 21%)
HSVhsv(3, 84%, 36%)
CMYKcmyk(0%, 79.1%, 83.5%, 64.3%)
CIE-LABlab(18.91, 32.20, 22.10)
CIE-LCHlch(18.91, 39.05, 34.47°)
OKLaboklab(31.33% 0.0923 0.0492)
OKLCHoklch(31.33% 0.105 28.1)
XYZxyz(4.6340, 2.7251, 0.7338)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B130F #0F575B
analogous
#5B0F31 #5B130F #5B390F
triadic
#5B130F #0F5B13 #130F5B
tetradic
#5B130F #315B0F #0F575B #390F5B
square
#5B130F #315B0F #0F575B #390F5B
split-complementary
#5B130F #0F5B39 #0F315B
monochromatic
#1A0504 #260806 #5B130F #901E18 #C42920

Accessibility & contrast

On white

13.59
#5B130F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B130F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B130F#FFFFFF#000000##FFFFFF
##5B130F1.0013.591.5413.59
#FFFFFF13.591.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240E
Deuteranopia (green-blind)
#3A340C
Tritanopia (blue-blind)
#650013
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b130f;
/* rgb */ color: rgb(91, 19, 15);
/* oklch */ color: oklch(31.3% 0.105 28.1);
Tailwind
colors: {
  custom: {
    50: '#90574e',
    500: '#5b130f',
    950: '#000000',
  },
}
SCSS
$custom: #5b130f;
$custom-light: #90574e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b130f",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 15
  },
  "hsl": {
    "h": 3.158,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31331,
    "c": 0.10464,
    "h": 28.1
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#5B130F
secondary
#318F95
accent
#E5EE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5B130F

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

Preview Lab → · Contrast checker → · Palette generator →

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