#5B2115#5B2115

#5B2115 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.3% C 0.088 H 33.4°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#5B2115
RGBrgb(91, 33, 21)
HSLhsl(10, 63%, 22%)
HSVhsv(10, 77%, 36%)
CMYKcmyk(0%, 63.7%, 76.9%, 64.3%)
CIE-LABlab(21.46, 25.82, 21.39)
CIE-LCHlch(21.46, 33.53, 39.64°)
OKLaboklab(33.27% 0.0738 0.0487)
OKLCHoklch(33.27% 0.088 33.4)
XYZxyz(4.9941, 3.3667, 1.0962)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2115 #154F5B
analogous
#5B152C #5B2115 #5B4415
triadic
#5B2115 #155B21 #21155B
tetradic
#5B2115 #2C5B15 #154F5B #44155B
square
#5B2115 #2C5B15 #154F5B #44155B
split-complementary
#5B2115 #155B44 #152C5B
monochromatic
#190906 #290F0A #5B2115 #8D3320 #BE452C

Accessibility & contrast

On white

12.55
#5B2115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5B2115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2115
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2115#FFFFFF#000000##FFFFFF
##5B21151.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C13
Deuteranopia (green-blind)
#3F3813
Tritanopia (blue-blind)
#65141E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b2115;
/* rgb */ color: rgb(91, 33, 21);
/* oklch */ color: oklch(33.3% 0.088 33.4);
Tailwind
colors: {
  custom: {
    50: '#8f5f52',
    500: '#5b2115',
    950: '#000000',
  },
}
SCSS
$custom: #5b2115;
$custom-light: #8f5f52;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2115",
  "rgb": {
    "r": 91,
    "g": 33,
    "b": 21
  },
  "hsl": {
    "h": 10.286,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3327,
    "c": 0.08839,
    "h": 33.4
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#5B2115
secondary
#398392
accent
#CAE642
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5B2115

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

Preview Lab → · Contrast checker → · Palette generator →

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