#5B2010#5B2010

#5B2010 is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.0% C 0.091 H 36.0°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#5B2010
RGBrgb(91, 32, 16)
HSLhsl(13, 70%, 21%)
HSVhsv(13, 82%, 36%)
CMYKcmyk(0%, 64.8%, 82.4%, 64.3%)
CIE-LABlab(21.19, 26.10, 24.14)
CIE-LCHlch(21.19, 35.55, 42.76°)
OKLaboklab(33.05% 0.0736 0.0534)
OKLCHoklch(33.05% 0.091 36)
XYZxyz(4.9249, 3.2953, 0.8668)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2010 #104B5B
analogous
#5B1025 #5B2010 #5B4510
triadic
#5B2010 #105B20 #20105B
tetradic
#5B2010 #255B10 #104B5B #45105B
square
#5B2010 #255B10 #104B5B #45105B
split-complementary
#5B2010 #105B45 #10255B
monochromatic
#1A0905 #270E07 #5B2010 #8F3219 #C34522

Accessibility & contrast

On white

12.66
#5B2010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5B2010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2010
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2010#FFFFFF#000000##FFFFFF
##5B20101.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B0E
Deuteranopia (green-blind)
#3F380E
Tritanopia (blue-blind)
#65121D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b2010;
/* rgb */ color: rgb(91, 32, 16);
/* oklch */ color: oklch(33.0% 0.091 36.0);
Tailwind
colors: {
  custom: {
    50: '#8f5e4f',
    500: '#5b2010',
    950: '#000000',
  },
}
SCSS
$custom: #5b2010;
$custom-light: #8f5e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2010",
  "rgb": {
    "r": 91,
    "g": 32,
    "b": 16
  },
  "hsl": {
    "h": 12.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33049,
    "c": 0.09092,
    "h": 36
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#5B2010
secondary
#337F94
accent
#C7ED3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5B2010

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

Preview Lab → · Contrast checker → · Palette generator →

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