#5B101E#5B101E

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

Color values

HEX#5B101E
RGBrgb(91, 16, 30)
HSLhsl(349, 70%, 21%)
HSVhsv(349, 82%, 36%)
CMYKcmyk(0%, 82.4%, 67%, 64.3%)
CIE-LABlab(18.75, 34.17, 12.00)
CIE-LCHlch(18.75, 36.22, 19.35°)
OKLaboklab(31.3% 0.1022 0.0291)
OKLCHoklch(31.3% 0.106 15.9)
XYZxyz(4.7345, 2.6892, 1.4978)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B101E #105B4D
analogous
#5B1043 #5B101E #5B2710
triadic
#5B101E #1E5B10 #101E5B
tetradic
#5B101E #435B10 #105B4D #27105B
square
#5B101E #435B10 #105B4D #27105B
split-complementary
#5B101E #105B27 #10435B
monochromatic
#1A0509 #27070D #5B101E #8F192F #C32240

Accessibility & contrast

On white

13.66
#5B101E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B101E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B101E#FFFFFF#000000##FFFFFF
##5B101E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241E
Deuteranopia (green-blind)
#38331C
Tritanopia (blue-blind)
#640016
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b101e;
/* rgb */ color: rgb(91, 16, 30);
/* oklch */ color: oklch(31.3% 0.106 15.9);
Tailwind
colors: {
  custom: {
    50: '#8f5659',
    500: '#5b101e',
    950: '#000000',
  },
}
SCSS
$custom: #5b101e;
$custom-light: #8f5659;
$custom-dark: #000000;
JSON
{
  "hex": "#5b101e",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 30
  },
  "hsl": {
    "h": 348.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31298,
    "c": 0.1063,
    "h": 15.9
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#5B101E
secondary
#339482
accent
#EDCC3B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B101E

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

Preview Lab → · Contrast checker → · Palette generator →

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