#5B0F10#5B0F10

#5B0F10 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.9% C 0.108 H 25.7°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#5B0F10
RGBrgb(91, 15, 16)
HSLhsl(359, 72%, 21%)
HSVhsv(359, 84%, 36%)
CMYKcmyk(0%, 83.5%, 82.4%, 64.3%)
CIE-LABlab(18.38, 33.74, 20.94)
CIE-LCHlch(18.38, 39.71, 31.83°)
OKLaboklab(30.94% 0.0974 0.0469)
OKLCHoklch(30.94% 0.108 25.7)
XYZxyz(4.5793, 2.6039, 0.7516)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F10 #0F5B5A
analogous
#5B0F36 #5B0F10 #5B340F
triadic
#5B0F10 #105B0F #0F105B
tetradic
#5B0F10 #365B0F #0F5B5A #340F5B
square
#5B0F10 #365B0F #0F5B5A #340F5B
split-complementary
#5B0F10 #0F5B34 #0F365B
monochromatic
#1A0405 #260607 #5B0F10 #901819 #C42022

Accessibility & contrast

On white

13.81
#5B0F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#5B0F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0F10
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F10#FFFFFF#000000##FFFFFF
##5B0F101.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220F
Deuteranopia (green-blind)
#39330D
Tritanopia (blue-blind)
#650010
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b0f10;
/* rgb */ color: rgb(91, 15, 16);
/* oklch */ color: oklch(30.9% 0.108 25.7);
Tailwind
colors: {
  custom: {
    50: '#90554e',
    500: '#5b0f10',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f10;
$custom-light: #90554e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f10",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 16
  },
  "hsl": {
    "h": 359.211,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30944,
    "c": 0.10814,
    "h": 25.7
  },
  "luminance": 0.02603
}

Semantic roles & 50–950 ramp

primary
#5B0F10
secondary
#319593
accent
#EEEC39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5B0F10

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

Preview Lab → · Contrast checker → · Palette generator →

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