#5B101C#5B101C

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

Color values

HEX#5B101C
RGBrgb(91, 16, 28)
HSLhsl(350, 70%, 21%)
HSVhsv(350, 82%, 36%)
CMYKcmyk(0%, 82.4%, 69.2%, 64.3%)
CIE-LABlab(18.71, 34.03, 13.36)
CIE-LCHlch(18.71, 36.56, 21.43°)
OKLaboklab(31.25% 0.1014 0.032)
OKLCHoklch(31.25% 0.106 17.5)
XYZxyz(4.7098, 2.6793, 1.3675)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B101C #105B4F
analogous
#5B1041 #5B101C #5B2910
triadic
#5B101C #1C5B10 #101C5B
tetradic
#5B101C #415B10 #105B4F #29105B
square
#5B101C #415B10 #105B4F #29105B
split-complementary
#5B101C #105B29 #10415B
monochromatic
#1A0508 #27070C #5B101C #8F192C #C3223C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B101C#FFFFFF#000000##FFFFFF
##5B101C1.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)
#26231C
Deuteranopia (green-blind)
#39331A
Tritanopia (blue-blind)
#650015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b101c;
/* rgb */ color: rgb(91, 16, 28);
/* oklch */ color: oklch(31.3% 0.106 17.5);
Tailwind
colors: {
  custom: {
    50: '#8f5657',
    500: '#5b101c',
    950: '#000000',
  },
}
SCSS
$custom: #5b101c;
$custom-light: #8f5657;
$custom-dark: #000000;
JSON
{
  "hex": "#5b101c",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 28
  },
  "hsl": {
    "h": 350.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31253,
    "c": 0.10628,
    "h": 17.5
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#5B101C
secondary
#339485
accent
#EDD03B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B101C

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

Preview Lab → · Contrast checker → · Palette generator →

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