#5B101D#5B101D

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

Color values

HEX#5B101D
RGBrgb(91, 16, 29)
HSLhsl(350, 70%, 21%)
HSVhsv(350, 82%, 36%)
CMYKcmyk(0%, 82.4%, 68.1%, 64.3%)
CIE-LABlab(18.73, 34.10, 12.68)
CIE-LCHlch(18.73, 36.38, 20.39°)
OKLaboklab(31.28% 0.1018 0.0306)
OKLCHoklch(31.28% 0.106 16.7)
XYZxyz(4.7219, 2.6841, 1.4316)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B101D #105B4E
analogous
#5B1042 #5B101D #5B2810
triadic
#5B101D #1D5B10 #101D5B
tetradic
#5B101D #425B10 #105B4E #28105B
square
#5B101D #425B10 #105B4E #28105B
split-complementary
#5B101D #105B28 #10425B
monochromatic
#1A0508 #27070C #5B101D #8F192E #C3223E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B101D#FFFFFF#000000##FFFFFF
##5B101D1.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)
#25241D
Deuteranopia (green-blind)
#38331B
Tritanopia (blue-blind)
#640016
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b101d;
/* rgb */ color: rgb(91, 16, 29);
/* oklch */ color: oklch(31.3% 0.106 16.7);
Tailwind
colors: {
  custom: {
    50: '#8f5658',
    500: '#5b101d',
    950: '#000000',
  },
}
SCSS
$custom: #5b101d;
$custom-light: #8f5658;
$custom-dark: #000000;
JSON
{
  "hex": "#5b101d",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 29
  },
  "hsl": {
    "h": 349.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31275,
    "c": 0.10628,
    "h": 16.7
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#5B101D
secondary
#339483
accent
#EDCE3B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B101D

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

Preview Lab → · Contrast checker → · Palette generator →

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