#5B0F1D#5B0F1D

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

Color values

HEX#5B0F1D
RGBrgb(91, 15, 29)
HSLhsl(349, 72%, 21%)
HSVhsv(349, 84%, 36%)
CMYKcmyk(0%, 83.5%, 68.1%, 64.3%)
CIE-LABlab(18.61, 34.45, 12.51)
CIE-LCHlch(18.61, 36.66, 19.96°)
OKLaboklab(31.18% 0.1029 0.0302)
OKLCHoklch(31.18% 0.107 16.3)
XYZxyz(4.7075, 2.6552, 1.4268)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F1D #0F5B4D
analogous
#5B0F43 #5B0F1D #5B270F
triadic
#5B0F1D #1D5B0F #0F1D5B
tetradic
#5B0F1D #435B0F #0F5B4D #270F5B
square
#5B0F1D #435B0F #0F5B4D #270F5B
split-complementary
#5B0F1D #0F5B27 #0F435B
monochromatic
#1A0408 #26060C #5B0F1D #90182E #C4203E

Accessibility & contrast

On white

13.72
#5B0F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0F1D
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F1D#FFFFFF#000000##FFFFFF
##5B0F1D1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231D
Deuteranopia (green-blind)
#38331B
Tritanopia (blue-blind)
#650015
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b0f1d;
/* rgb */ color: rgb(91, 15, 29);
/* oklch */ color: oklch(31.2% 0.107 16.3);
Tailwind
colors: {
  custom: {
    50: '#8f5658',
    500: '#5b0f1d',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f1d;
$custom-light: #8f5658;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f1d",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 29
  },
  "hsl": {
    "h": 348.947,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31183,
    "c": 0.10726,
    "h": 16.3
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#5B0F1D
secondary
#319582
accent
#EECD39
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B0F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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