#5B1313#5B1313

#5B1313 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.4% C 0.104 H 25.5°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#5B1313
RGBrgb(91, 19, 19)
HSLhsl(0, 65%, 22%)
HSVhsv(0, 79%, 36%)
CMYKcmyk(0%, 79.1%, 79.1%, 64.3%)
CIE-LABlab(18.96, 32.38, 19.84)
CIE-LCHlch(18.96, 37.97, 31.49°)
OKLaboklab(31.39% 0.0939 0.0448)
OKLCHoklch(31.39% 0.104 25.5)
XYZxyz(4.6653, 2.7376, 0.8987)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1313 #135B5B
analogous
#5B1337 #5B1313 #5B3713
triadic
#5B1313 #135B13 #13135B
tetradic
#5B1313 #375B13 #135B5B #37135B
square
#5B1313 #375B13 #135B5B #37135B
split-complementary
#5B1313 #135B37 #13375B
monochromatic
#190505 #280808 #5B1313 #8E1E1E #C02828

Accessibility & contrast

On white

13.57
#5B1313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5B1313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1313
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1313#FFFFFF#000000##FFFFFF
##5B13131.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282412
Deuteranopia (green-blind)
#3A3410
Tritanopia (blue-blind)
#650014
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1313;
/* rgb */ color: rgb(91, 19, 19);
/* oklch */ color: oklch(31.4% 0.104 25.5);
Tailwind
colors: {
  custom: {
    50: '#905750',
    500: '#5b1313',
    950: '#000000',
  },
}
SCSS
$custom: #5b1313;
$custom-light: #905750;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1313",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 19
  },
  "hsl": {
    "h": 0,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31388,
    "c": 0.10403,
    "h": 25.5
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#5B1313
secondary
#379393
accent
#E8E83F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B1313

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

Preview Lab → · Contrast checker → · Palette generator →

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