#5B101F#5B101F

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

Color values

HEX#5B101F
RGBrgb(91, 16, 31)
HSLhsl(348, 70%, 21%)
HSVhsv(348, 82%, 36%)
CMYKcmyk(0%, 82.4%, 65.9%, 64.3%)
CIE-LABlab(18.78, 34.24, 11.32)
CIE-LCHlch(18.78, 36.07, 18.29°)
OKLaboklab(31.32% 0.1027 0.0276)
OKLCHoklch(31.32% 0.106 15)
XYZxyz(4.7475, 2.6944, 1.5661)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B101F #105B4C
analogous
#5B1044 #5B101F #5B2610
triadic
#5B101F #1F5B10 #101F5B
tetradic
#5B101F #445B10 #105B4C #26105B
square
#5B101F #445B10 #105B4C #26105B
split-complementary
#5B101F #105B26 #10445B
monochromatic
#1A0509 #27070D #5B101F #8F1931 #C32242

Accessibility & contrast

On white

13.65
#5B101F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B101F
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B101F#FFFFFF#000000##FFFFFF
##5B101F1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b101f;
/* rgb */ color: rgb(91, 16, 31);
/* oklch */ color: oklch(31.3% 0.106 15.0);
Tailwind
colors: {
  custom: {
    50: '#8f565a',
    500: '#5b101f',
    950: '#000000',
  },
}
SCSS
$custom: #5b101f;
$custom-light: #8f565a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b101f",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 31
  },
  "hsl": {
    "h": 348,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31322,
    "c": 0.10634,
    "h": 15
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#5B101F
secondary
#339481
accent
#EDC93B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B101F

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

Preview Lab → · Contrast checker → · Palette generator →

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