#5B1618#5B1618

#5B1618 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.8% C 0.100 H 23.4°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#5B1618
RGBrgb(91, 22, 24)
HSLhsl(358, 61%, 22%)
HSVhsv(358, 76%, 36%)
CMYKcmyk(0%, 75.8%, 73.6%, 64.3%)
CIE-LABlab(19.49, 31.40, 17.11)
CIE-LCHlch(19.49, 35.76, 28.59°)
OKLaboklab(31.81% 0.092 0.0399)
OKLCHoklch(31.81% 0.1 23.4)
XYZxyz(4.7667, 2.8646, 1.1659)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1618 #165B59
analogous
#5B163B #5B1618 #5B3716
triadic
#5B1618 #185B16 #16185B
tetradic
#5B1618 #3B5B16 #165B59 #37165B
square
#5B1618 #3B5B16 #165B59 #37165B
split-complementary
#5B1618 #165B37 #163B5B
monochromatic
#190606 #2A0A0B #5B1618 #8C2225 #BE2E32

Accessibility & contrast

On white

13.35
#5B1618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5B1618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1618
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1618#FFFFFF#000000##FFFFFF
##5B16181.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292617
Deuteranopia (green-blind)
#3B3516
Tritanopia (blue-blind)
#650217
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1618;
/* rgb */ color: rgb(91, 22, 24);
/* oklch */ color: oklch(31.8% 0.100 23.4);
Tailwind
colors: {
  custom: {
    50: '#8f5954',
    500: '#5b1618',
    950: '#000000',
  },
}
SCSS
$custom: #5b1618;
$custom-light: #8f5954;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1618",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 24
  },
  "hsl": {
    "h": 358.261,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31811,
    "c": 0.10025,
    "h": 23.4
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

primary
#5B1618
secondary
#3B9290
accent
#E4E044
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5B1618

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

Preview Lab → · Contrast checker → · Palette generator →

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