#5B1F10#5B1F10

#5B1F10 is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.092 H 35.1°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#5B1F10
RGBrgb(91, 31, 16)
HSLhsl(12, 70%, 21%)
HSVhsv(12, 82%, 36%)
CMYKcmyk(0%, 65.9%, 82.4%, 64.3%)
CIE-LABlab(20.99, 26.63, 23.92)
CIE-LCHlch(20.99, 35.80, 41.92°)
OKLaboklab(32.9% 0.0752 0.0529)
OKLCHoklch(32.9% 0.092 35.1)
XYZxyz(4.8984, 3.2422, 0.8580)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1F10 #104C5B
analogous
#5B1026 #5B1F10 #5B4410
triadic
#5B1F10 #105B1F #1F105B
tetradic
#5B1F10 #265B10 #104C5B #44105B
square
#5B1F10 #265B10 #104C5B #44105B
split-complementary
#5B1F10 #105B44 #10265B
monochromatic
#1A0905 #270D07 #5B1F10 #8F3119 #C34222

Accessibility & contrast

On white

12.74
#5B1F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5B1F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1F10
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1F10#FFFFFF#000000##FFFFFF
##5B1F101.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0E
Deuteranopia (green-blind)
#3F370E
Tritanopia (blue-blind)
#65101C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1f10;
/* rgb */ color: rgb(91, 31, 16);
/* oklch */ color: oklch(32.9% 0.092 35.1);
Tailwind
colors: {
  custom: {
    50: '#8f5d4f',
    500: '#5b1f10',
    950: '#000000',
  },
}
SCSS
$custom: #5b1f10;
$custom-light: #8f5d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1f10",
  "rgb": {
    "r": 91,
    "g": 31,
    "b": 16
  },
  "hsl": {
    "h": 12,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32897,
    "c": 0.09199,
    "h": 35.1
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#5B1F10
secondary
#338194
accent
#C9ED3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5B1F10

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

Preview Lab → · Contrast checker → · Palette generator →

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