#5B0F22#5B0F22

#5B0F22 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.3% C 0.108 H 12.2°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#5B0F22
RGBrgb(91, 15, 34)
HSLhsl(345, 72%, 21%)
HSVhsv(345, 84%, 36%)
CMYKcmyk(0%, 83.5%, 62.6%, 64.3%)
CIE-LABlab(18.72, 34.82, 9.11)
CIE-LCHlch(18.72, 35.99, 14.67°)
OKLaboklab(31.31% 0.1052 0.0227)
OKLCHoklch(31.31% 0.108 12.2)
XYZxyz(4.7744, 2.6820, 1.7793)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F22 #0F5B48
analogous
#5B0F48 #5B0F22 #5B220F
triadic
#5B0F22 #225B0F #0F225B
tetradic
#5B0F22 #485B0F #0F5B48 #220F5B
square
#5B0F22 #485B0F #0F5B48 #220F5B
split-complementary
#5B0F22 #0F5B22 #0F485B
monochromatic
#1A040A #26060E #5B0F22 #901836 #C42049

Accessibility & contrast

On white

13.67
#5B0F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5B0F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0F22
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F22#FFFFFF#000000##FFFFFF
##5B0F221.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242422
Deuteranopia (green-blind)
#383320
Tritanopia (blue-blind)
#640017
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0f22;
/* rgb */ color: rgb(91, 15, 34);
/* oklch */ color: oklch(31.3% 0.108 12.2);
Tailwind
colors: {
  custom: {
    50: '#8f565c',
    500: '#5b0f22',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f22;
$custom-light: #8f565c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f22",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 34
  },
  "hsl": {
    "h": 345,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31306,
    "c": 0.10757,
    "h": 12.2
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#5B0F22
secondary
#31957C
accent
#EEC139
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B0F22

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

Preview Lab → · Contrast checker → · Palette generator →

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