#5B2015#5B2015

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

Color values

HEX#5B2015
RGBrgb(91, 32, 21)
HSLhsl(9, 63%, 22%)
HSVhsv(9, 77%, 36%)
CMYKcmyk(0%, 64.8%, 76.9%, 64.3%)
CIE-LABlab(21.25, 26.36, 21.16)
CIE-LCHlch(21.25, 33.80, 38.76°)
OKLaboklab(33.12% 0.0755 0.0482)
OKLCHoklch(33.12% 0.09 32.5)
XYZxyz(4.9668, 3.3120, 1.0871)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2015 #15505B
analogous
#5B152D #5B2015 #5B4315
triadic
#5B2015 #155B20 #20155B
tetradic
#5B2015 #2D5B15 #15505B #43155B
square
#5B2015 #2D5B15 #15505B #43155B
split-complementary
#5B2015 #155B43 #152D5B
monochromatic
#190906 #290F0A #5B2015 #8D3120 #BE432C

Accessibility & contrast

On white

12.63
#5B2015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B2015
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2015#FFFFFF#000000##FFFFFF
##5B20151.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B14
Deuteranopia (green-blind)
#3F3813
Tritanopia (blue-blind)
#65131E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b2015;
/* rgb */ color: rgb(91, 32, 21);
/* oklch */ color: oklch(33.1% 0.090 32.5);
Tailwind
colors: {
  custom: {
    50: '#8f5e52',
    500: '#5b2015',
    950: '#000000',
  },
}
SCSS
$custom: #5b2015;
$custom-light: #8f5e52;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2015",
  "rgb": {
    "r": 91,
    "g": 32,
    "b": 21
  },
  "hsl": {
    "h": 9.429,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33116,
    "c": 0.08952,
    "h": 32.5
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#5B2015
secondary
#398492
accent
#CCE642
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5B2015

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

Preview Lab → · Contrast checker → · Palette generator →

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