#5B210E#5B210E

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

Color values

HEX#5B210E
RGBrgb(91, 33, 14)
HSLhsl(15, 73%, 21%)
HSVhsv(15, 85%, 36%)
CMYKcmyk(0%, 63.7%, 84.6%, 64.3%)
CIE-LABlab(21.37, 25.48, 25.39)
CIE-LCHlch(21.37, 35.97, 44.90°)
OKLaboklab(33.18% 0.0712 0.0557)
OKLCHoklch(33.18% 0.09 38)
XYZxyz(4.9380, 3.3442, 0.8009)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B210E #0E485B
analogous
#5B0E21 #5B210E #5B470E
triadic
#5B210E #0E5B21 #210E5B
tetradic
#5B210E #215B0E #0E485B #470E5B
square
#5B210E #215B0E #0E485B #470E5B
split-complementary
#5B210E #0E5B47 #0E215B
monochromatic
#1B0A04 #260E06 #5B210E #903416 #C5471E

Accessibility & contrast

On white

12.58
#5B210E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B210E
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B210E#FFFFFF#000000##FFFFFF
##5B210E1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0B
Deuteranopia (green-blind)
#40380C
Tritanopia (blue-blind)
#65131D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b210e;
/* rgb */ color: rgb(91, 33, 14);
/* oklch */ color: oklch(33.2% 0.090 38.0);
Tailwind
colors: {
  custom: {
    50: '#8f5f4e',
    500: '#5b210e',
    950: '#000000',
  },
}
SCSS
$custom: #5b210e;
$custom-light: #8f5f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b210e",
  "rgb": {
    "r": 91,
    "g": 33,
    "b": 14
  },
  "hsl": {
    "h": 14.805,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33181,
    "c": 0.09044,
    "h": 38
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

primary
#5B210E
secondary
#307C95
accent
#C3F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B210E

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

Preview Lab → · Contrast checker → · Palette generator →

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