#5B1119#5B1119

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

Color values

HEX#5B1119
RGBrgb(91, 17, 25)
HSLhsl(354, 69%, 21%)
HSVhsv(354, 81%, 36%)
CMYKcmyk(0%, 81.3%, 72.5%, 64.3%)
CIE-LABlab(18.78, 33.48, 15.55)
CIE-LCHlch(18.78, 36.91, 24.91°)
OKLaboklab(31.29% 0.0988 0.0365)
OKLCHoklch(31.29% 0.105 20.3)
XYZxyz(4.6908, 2.6959, 1.1929)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1119 #115B53
analogous
#5B113E #5B1119 #5B2E11
triadic
#5B1119 #195B11 #11195B
tetradic
#5B1119 #3E5B11 #115B53 #2E115B
square
#5B1119 #3E5B11 #115B53 #2E115B
split-complementary
#5B1119 #115B2E #113E5B
monochromatic
#1A0507 #27070B #5B1119 #8F1B27 #C22435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B1119#FFFFFF#000000##FFFFFF
##5B11191.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)
#272419
Deuteranopia (green-blind)
#393317
Tritanopia (blue-blind)
#650015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1119;
/* rgb */ color: rgb(91, 17, 25);
/* oklch */ color: oklch(31.3% 0.105 20.3);
Tailwind
colors: {
  custom: {
    50: '#8f5655',
    500: '#5b1119',
    950: '#000000',
  },
}
SCSS
$custom: #5b1119;
$custom-light: #8f5655;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1119",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 25
  },
  "hsl": {
    "h": 353.514,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31287,
    "c": 0.10539,
    "h": 20.3
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#5B1119
secondary
#349489
accent
#EBD83C
background
#F9F5F4
surface
#F2E9E8
border
#CCC5C4
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5B1119

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

Preview Lab → · Contrast checker → · Palette generator →

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