#5B0F1B#5B0F1B

#5B0F1B is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.1% C 0.107 H 17.9°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#5B0F1B
RGBrgb(91, 15, 27)
HSLhsl(351, 72%, 21%)
HSVhsv(351, 84%, 36%)
CMYKcmyk(0%, 83.5%, 70.3%, 64.3%)
CIE-LABlab(18.56, 34.32, 13.87)
CIE-LCHlch(18.56, 37.02, 22.01°)
OKLaboklab(31.14% 0.102 0.0331)
OKLCHoklch(31.14% 0.107 17.9)
XYZxyz(4.6835, 2.6456, 1.3007)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F1B #0F5B4F
analogous
#5B0F41 #5B0F1B #5B290F
triadic
#5B0F1B #1B5B0F #0F1B5B
tetradic
#5B0F1B #415B0F #0F5B4F #290F5B
square
#5B0F1B #415B0F #0F5B4F #290F5B
split-complementary
#5B0F1B #0F5B29 #0F415B
monochromatic
#1A0408 #26060B #5B0F1B #90182B #C4203A

Accessibility & contrast

On white

13.73
#5B0F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5B0F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0F1B
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F1B#FFFFFF#000000##FFFFFF
##5B0F1B1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231B
Deuteranopia (green-blind)
#383319
Tritanopia (blue-blind)
#650014
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b0f1b;
/* rgb */ color: rgb(91, 15, 27);
/* oklch */ color: oklch(31.1% 0.107 17.9);
Tailwind
colors: {
  custom: {
    50: '#8f5657',
    500: '#5b0f1b',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f1b;
$custom-light: #8f5657;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f1b",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 27
  },
  "hsl": {
    "h": 350.526,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31138,
    "c": 0.10725,
    "h": 17.9
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#5B0F1B
secondary
#319585
accent
#EED239
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B0F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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