#5B111F#5B111F

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

Color values

HEX#5B111F
RGBrgb(91, 17, 31)
HSLhsl(349, 69%, 21%)
HSVhsv(349, 81%, 36%)
CMYKcmyk(0%, 81.3%, 65.9%, 64.3%)
CIE-LABlab(18.91, 33.88, 11.49)
CIE-LCHlch(18.91, 35.77, 18.74°)
OKLaboklab(31.42% 0.1015 0.028)
OKLCHoklch(31.42% 0.105 15.4)
XYZxyz(4.7626, 2.7247, 1.5712)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B111F #115B4D
analogous
#5B1144 #5B111F #5B2811
triadic
#5B111F #1F5B11 #111F5B
tetradic
#5B111F #445B11 #115B4D #28115B
square
#5B111F #445B11 #115B4D #28115B
split-complementary
#5B111F #115B28 #11445B
monochromatic
#1A0509 #27070D #5B111F #8F1B31 #C22442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B111F#FFFFFF#000000##FFFFFF
##5B111F1.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)
#26241F
Deuteranopia (green-blind)
#38341D
Tritanopia (blue-blind)
#640017
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b111f;
/* rgb */ color: rgb(91, 17, 31);
/* oklch */ color: oklch(31.4% 0.105 15.4);
Tailwind
colors: {
  custom: {
    50: '#8f575a',
    500: '#5b111f',
    950: '#000000',
  },
}
SCSS
$custom: #5b111f;
$custom-light: #8f575a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b111f",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 31
  },
  "hsl": {
    "h": 348.649,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31418,
    "c": 0.10531,
    "h": 15.4
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#5B111F
secondary
#349482
accent
#EBCA3C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B111F

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

Preview Lab → · Contrast checker → · Palette generator →

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