#5B151E#5B151E

#5B151E is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.8% C 0.101 H 18.0°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#5B151E
RGBrgb(91, 21, 30)
HSLhsl(352, 63%, 22%)
HSVhsv(352, 77%, 36%)
CMYKcmyk(0%, 76.9%, 67%, 64.3%)
CIE-LABlab(19.45, 32.22, 12.91)
CIE-LCHlch(19.45, 34.71, 21.84°)
OKLaboklab(31.82% 0.096 0.0312)
OKLCHoklch(31.82% 0.101 18)
XYZxyz(4.8174, 2.8549, 1.5254)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B151E #155B52
analogous
#5B1541 #5B151E #5B2F15
triadic
#5B151E #1E5B15 #151E5B
tetradic
#5B151E #415B15 #155B52 #2F155B
square
#5B151E #415B15 #155B52 #2F155B
split-complementary
#5B151E #155B2F #15415B
monochromatic
#190608 #290A0E #5B151E #8D202E #BE2C3F

Accessibility & contrast

On white

13.37
#5B151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5B151E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B151E
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B151E#FFFFFF#000000##FFFFFF
##5B151E1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261E
Deuteranopia (green-blind)
#3A341C
Tritanopia (blue-blind)
#640219
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b151e;
/* rgb */ color: rgb(91, 21, 30);
/* oklch */ color: oklch(31.8% 0.101 18.0);
Tailwind
colors: {
  custom: {
    50: '#8f5859',
    500: '#5b151e',
    950: '#000000',
  },
}
SCSS
$custom: #5b151e;
$custom-light: #8f5859;
$custom-dark: #000000;
JSON
{
  "hex": "#5b151e",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 352.286,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.10093,
    "h": 18
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#5B151E
secondary
#399287
accent
#E6D142
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B151E

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

Preview Lab → · Contrast checker → · Palette generator →

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