#5B2012#5B2012

#5B2012 is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.1% C 0.090 H 34.7°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#5B2012
RGBrgb(91, 32, 18)
HSLhsl(12, 67%, 21%)
HSVhsv(12, 80%, 36%)
CMYKcmyk(0%, 64.8%, 80.2%, 64.3%)
CIE-LABlab(21.21, 26.20, 23.00)
CIE-LCHlch(21.21, 34.86, 41.27°)
OKLaboklab(33.07% 0.0743 0.0514)
OKLCHoklch(33.07% 0.09 34.7)
XYZxyz(4.9406, 3.3015, 0.9492)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2012 #124D5B
analogous
#5B1229 #5B2012 #5B4512
triadic
#5B2012 #125B20 #20125B
tetradic
#5B2012 #295B12 #124D5B #45125B
square
#5B2012 #295B12 #124D5B #45125B
split-complementary
#5B2012 #125B45 #12295B
monochromatic
#1A0905 #280E08 #5B2012 #8E321C #C14426

Accessibility & contrast

On white

12.65
#5B2012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B2012
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2012#FFFFFF#000000##FFFFFF
##5B20121.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b2012;
/* rgb */ color: rgb(91, 32, 18);
/* oklch */ color: oklch(33.1% 0.090 34.7);
Tailwind
colors: {
  custom: {
    50: '#8f5e50',
    500: '#5b2012',
    950: '#000000',
  },
}
SCSS
$custom: #5b2012;
$custom-light: #8f5e50;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2012",
  "rgb": {
    "r": 91,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 11.507,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33074,
    "c": 0.09035,
    "h": 34.7
  },
  "luminance": 0.03301
}

Semantic roles & 50–950 ramp

primary
#5B2012
secondary
#358193
accent
#C9EA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5B2012

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

Preview Lab → · Contrast checker → · Palette generator →

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