#5B210F#5B210F

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

Color values

HEX#5B210F
RGBrgb(91, 33, 15)
HSLhsl(14, 72%, 21%)
HSVhsv(14, 84%, 36%)
CMYKcmyk(0%, 63.7%, 83.5%, 64.3%)
CIE-LABlab(21.38, 25.52, 24.89)
CIE-LCHlch(21.38, 35.65, 44.28°)
OKLaboklab(33.19% 0.0716 0.0548)
OKLCHoklch(33.19% 0.09 37.4)
XYZxyz(4.9450, 3.3470, 0.8375)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B210F #0F495B
analogous
#5B0F23 #5B210F #5B470F
triadic
#5B210F #0F5B21 #210F5B
tetradic
#5B210F #235B0F #0F495B #470F5B
square
#5B210F #235B0F #0F495B #470F5B
split-complementary
#5B210F #0F5B47 #0F235B
monochromatic
#1A0A04 #260E06 #5B210F #903418 #C44720

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B210F#FFFFFF#000000##FFFFFF
##5B210F1.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)
#312B0D
Deuteranopia (green-blind)
#3F380D
Tritanopia (blue-blind)
#65131D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b210f;
/* rgb */ color: rgb(91, 33, 15);
/* oklch */ color: oklch(33.2% 0.090 37.4);
Tailwind
colors: {
  custom: {
    50: '#8f5f4e',
    500: '#5b210f',
    950: '#000000',
  },
}
SCSS
$custom: #5b210f;
$custom-light: #8f5f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b210f",
  "rgb": {
    "r": 91,
    "g": 33,
    "b": 15
  },
  "hsl": {
    "h": 14.211,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33192,
    "c": 0.09016,
    "h": 37.4
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#5B210F
secondary
#317D95
accent
#C4EE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0401
muted
#7E7977

Preview Lab

Preview with #5B210F

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

Preview Lab → · Contrast checker → · Palette generator →

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