#5B1015#5B1015

#5B1015 is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.1% C 0.107 H 22.8°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#5B1015
RGBrgb(91, 16, 21)
HSLhsl(356, 70%, 21%)
HSVhsv(356, 82%, 36%)
CMYKcmyk(0%, 82.4%, 76.9%, 64.3%)
CIE-LABlab(18.58, 33.62, 18.07)
CIE-LCHlch(18.58, 38.17, 28.26°)
OKLaboklab(31.12% 0.0983 0.0414)
OKLCHoklch(31.12% 0.107 22.8)
XYZxyz(4.6356, 2.6496, 0.9767)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1015 #105B56
analogous
#5B103A #5B1015 #5B3010
triadic
#5B1015 #155B10 #10155B
tetradic
#5B1015 #3A5B10 #105B56 #30105B
square
#5B1015 #3A5B10 #105B56 #30105B
split-complementary
#5B1015 #105B30 #103A5B
monochromatic
#1A0506 #270709 #5B1015 #8F1921 #C3222D

Accessibility & contrast

On white

13.73
#5B1015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1015
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1015#FFFFFF#000000##FFFFFF
##5B10151.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272314
Deuteranopia (green-blind)
#393312
Tritanopia (blue-blind)
#650013
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b1015;
/* rgb */ color: rgb(91, 16, 21);
/* oklch */ color: oklch(31.1% 0.107 22.8);
Tailwind
colors: {
  custom: {
    50: '#905652',
    500: '#5b1015',
    950: '#000000',
  },
}
SCSS
$custom: #5b1015;
$custom-light: #905652;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1015",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 21
  },
  "hsl": {
    "h": 356,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31116,
    "c": 0.10667,
    "h": 22.8
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#5B1015
secondary
#33948E
accent
#EDE13B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B1015

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

Preview Lab → · Contrast checker → · Palette generator →

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