#5B0F0F#5B0F0F

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

Color values

HEX#5B0F0F
RGBrgb(91, 15, 15)
HSLhsl(0, 72%, 21%)
HSVhsv(0, 84%, 36%)
CMYKcmyk(0%, 83.5%, 83.5%, 64.3%)
CIE-LABlab(18.37, 33.70, 21.47)
CIE-LCHlch(18.37, 39.96, 32.50°)
OKLaboklab(30.93% 0.0971 0.048)
OKLCHoklch(30.93% 0.108 26.3)
XYZxyz(4.5720, 2.6010, 0.7132)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F0F #0F5B5B
analogous
#5B0F35 #5B0F0F #5B350F
triadic
#5B0F0F #0F5B0F #0F0F5B
tetradic
#5B0F0F #355B0F #0F5B5B #350F5B
square
#5B0F0F #355B0F #0F5B5B #350F5B
split-complementary
#5B0F0F #0F5B35 #0F355B
monochromatic
#1A0404 #260606 #5B0F0F #901818 #C42020

Accessibility & contrast

On white

13.82
#5B0F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0F0F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F0F#FFFFFF#000000##FFFFFF
##5B0F0F1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b0f0f;
/* rgb */ color: rgb(91, 15, 15);
/* oklch */ color: oklch(30.9% 0.108 26.3);
Tailwind
colors: {
  custom: {
    50: '#90554e',
    500: '#5b0f0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f0f;
$custom-light: #90554e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f0f",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 15
  },
  "hsl": {
    "h": 0,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30931,
    "c": 0.10827,
    "h": 26.3
  },
  "luminance": 0.026
}

Semantic roles & 50–950 ramp

primary
#5B0F0F
secondary
#319595
accent
#EEEE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5B0F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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