#5B2215#5B2215

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

Color values

HEX#5B2215
RGBrgb(91, 34, 21)
HSLhsl(11, 63%, 22%)
HSVhsv(11, 77%, 36%)
CMYKcmyk(0%, 62.6%, 76.9%, 64.3%)
CIE-LABlab(21.66, 25.28, 21.63)
CIE-LCHlch(21.66, 33.27, 40.55°)
OKLaboklab(33.43% 0.0721 0.0492)
OKLCHoklch(33.43% 0.087 34.3)
XYZxyz(5.0223, 3.4230, 1.1056)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2215 #154E5B
analogous
#5B152B #5B2215 #5B4515
triadic
#5B2215 #155B22 #22155B
tetradic
#5B2215 #2B5B15 #154E5B #45155B
square
#5B2215 #2B5B15 #154E5B #45155B
split-complementary
#5B2215 #155B45 #152B5B
monochromatic
#190906 #290F0A #5B2215 #8D3520 #BE472C

Accessibility & contrast

On white

12.47
#5B2215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5B2215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2215
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2215#FFFFFF#000000##FFFFFF
##5B22151.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C13
Deuteranopia (green-blind)
#403913
Tritanopia (blue-blind)
#64161F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5b2215;
/* rgb */ color: rgb(91, 34, 21);
/* oklch */ color: oklch(33.4% 0.087 34.3);
Tailwind
colors: {
  custom: {
    50: '#8f5f53',
    500: '#5b2215',
    950: '#000000',
  },
}
SCSS
$custom: #5b2215;
$custom-light: #8f5f53;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2215",
  "rgb": {
    "r": 91,
    "g": 34,
    "b": 21
  },
  "hsl": {
    "h": 11.143,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33428,
    "c": 0.08727,
    "h": 34.3
  },
  "luminance": 0.03422
}

Semantic roles & 50–950 ramp

primary
#5B2215
secondary
#398292
accent
#C7E642
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5B2215

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

Preview Lab → · Contrast checker → · Palette generator →

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