#5B0F20#5B0F20

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

Color values

HEX#5B0F20
RGBrgb(91, 15, 32)
HSLhsl(347, 72%, 21%)
HSVhsv(347, 84%, 36%)
CMYKcmyk(0%, 83.5%, 64.8%, 64.3%)
CIE-LABlab(18.67, 34.67, 10.47)
CIE-LCHlch(18.67, 36.21, 16.81°)
OKLaboklab(31.25% 0.1043 0.0257)
OKLCHoklch(31.25% 0.107 13.9)
XYZxyz(4.7464, 2.6708, 1.6318)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F20 #0F5B4A
analogous
#5B0F46 #5B0F20 #5B240F
triadic
#5B0F20 #205B0F #0F205B
tetradic
#5B0F20 #465B0F #0F5B4A #240F5B
square
#5B0F20 #465B0F #0F5B4A #240F5B
split-complementary
#5B0F20 #0F5B24 #0F465B
monochromatic
#1A0409 #26060E #5B0F20 #901832 #C42045

Accessibility & contrast

On white

13.69
#5B0F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5B0F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0F20
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F20#FFFFFF#000000##FFFFFF
##5B0F201.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242320
Deuteranopia (green-blind)
#38331E
Tritanopia (blue-blind)
#640016
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b0f20;
/* rgb */ color: rgb(91, 15, 32);
/* oklch */ color: oklch(31.3% 0.107 13.9);
Tailwind
colors: {
  custom: {
    50: '#8f565b',
    500: '#5b0f20',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f20;
$custom-light: #8f565b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f20",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 32
  },
  "hsl": {
    "h": 346.579,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31254,
    "c": 0.1074,
    "h": 13.9
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#5B0F20
secondary
#31957E
accent
#EEC639
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B0F20

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

Preview Lab → · Contrast checker → · Palette generator →

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