#5B0F1A#5B0F1A

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

Color values

HEX#5B0F1A
RGBrgb(91, 15, 26)
HSLhsl(351, 72%, 21%)
HSVhsv(351, 84%, 36%)
CMYKcmyk(0%, 83.5%, 71.4%, 64.3%)
CIE-LABlab(18.55, 34.26, 14.55)
CIE-LCHlch(18.55, 37.22, 23.02°)
OKLaboklab(31.12% 0.1016 0.0345)
OKLCHoklch(31.12% 0.107 18.7)
XYZxyz(4.6722, 2.6411, 1.2408)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F1A #0F5B50
analogous
#5B0F40 #5B0F1A #5B2A0F
triadic
#5B0F1A #1A5B0F #0F1A5B
tetradic
#5B0F1A #405B0F #0F5B50 #2A0F5B
square
#5B0F1A #405B0F #0F5B50 #2A0F5B
split-complementary
#5B0F1A #0F5B2A #0F405B
monochromatic
#1A0408 #26060B #5B0F1A #901829 #C42038

Accessibility & contrast

On white

13.74
#5B0F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0F1A
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F1A#FFFFFF#000000##FFFFFF
##5B0F1A1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b0f1a;
/* rgb */ color: rgb(91, 15, 26);
/* oklch */ color: oklch(31.1% 0.107 18.7);
Tailwind
colors: {
  custom: {
    50: '#8f5656',
    500: '#5b0f1a',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f1a;
$custom-light: #8f5656;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f1a",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 26
  },
  "hsl": {
    "h": 351.316,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31117,
    "c": 0.10727,
    "h": 18.7
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#5B0F1A
secondary
#319586
accent
#EED439
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5B0F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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