#5B1315#5B1315

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

Color values

HEX#5B1315
RGBrgb(91, 19, 21)
HSLhsl(358, 65%, 22%)
HSVhsv(358, 79%, 36%)
CMYKcmyk(0%, 79.1%, 76.9%, 64.3%)
CIE-LABlab(18.99, 32.48, 18.55)
CIE-LCHlch(18.99, 37.40, 29.73°)
OKLaboklab(31.42% 0.0947 0.0425)
OKLCHoklch(31.42% 0.104 24.1)
XYZxyz(4.6831, 2.7447, 0.9925)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1315 #135B59
analogous
#5B1339 #5B1315 #5B3513
triadic
#5B1315 #155B13 #13155B
tetradic
#5B1315 #395B13 #135B59 #35135B
square
#5B1315 #395B13 #135B59 #35135B
split-complementary
#5B1315 #135B35 #13395B
monochromatic
#190506 #280809 #5B1315 #8E1E21 #C0282C

Accessibility & contrast

On white

13.56
#5B1315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1315
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1315#FFFFFF#000000##FFFFFF
##5B13151.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282414
Deuteranopia (green-blind)
#3A3413
Tritanopia (blue-blind)
#650015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1315;
/* rgb */ color: rgb(91, 19, 21);
/* oklch */ color: oklch(31.4% 0.104 24.1);
Tailwind
colors: {
  custom: {
    50: '#905752',
    500: '#5b1315',
    950: '#000000',
  },
}
SCSS
$custom: #5b1315;
$custom-light: #905752;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1315",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 21
  },
  "hsl": {
    "h": 358.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3142,
    "c": 0.10376,
    "h": 24.1
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#5B1315
secondary
#379391
accent
#E8E43F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B1315

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

Preview Lab → · Contrast checker → · Palette generator →

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