#5B1018#5B1018

#5B1018 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.106 H 20.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#5B1018
RGBrgb(91, 16, 24)
HSLhsl(354, 70%, 21%)
HSVhsv(354, 82%, 36%)
CMYKcmyk(0%, 82.4%, 73.6%, 64.3%)
CIE-LABlab(18.63, 33.79, 16.06)
CIE-LCHlch(18.63, 37.41, 25.43°)
OKLaboklab(31.17% 0.0996 0.0375)
OKLCHoklch(31.17% 0.106 20.6)
XYZxyz(4.6651, 2.6614, 1.1320)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1018 #105B53
analogous
#5B103D #5B1018 #5B2D10
triadic
#5B1018 #185B10 #10185B
tetradic
#5B1018 #3D5B10 #105B53 #2D105B
square
#5B1018 #3D5B10 #105B53 #2D105B
split-complementary
#5B1018 #105B2D #103D5B
monochromatic
#1A0507 #27070A #5B1018 #8F1926 #C32233

Accessibility & contrast

On white

13.71
#5B1018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1018
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1018#FFFFFF#000000##FFFFFF
##5B10181.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262318
Deuteranopia (green-blind)
#393316
Tritanopia (blue-blind)
#650014
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b1018;
/* rgb */ color: rgb(91, 16, 24);
/* oklch */ color: oklch(31.2% 0.106 20.6);
Tailwind
colors: {
  custom: {
    50: '#905654',
    500: '#5b1018',
    950: '#000000',
  },
}
SCSS
$custom: #5b1018;
$custom-light: #905654;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1018",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 24
  },
  "hsl": {
    "h": 353.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31171,
    "c": 0.10642,
    "h": 20.6
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#5B1018
secondary
#33948A
accent
#EDDA3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B1018

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

Preview Lab → · Contrast checker → · Palette generator →

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