#5B150F#5B150F

#5B150F is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.103 H 29.1°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#5B150F
RGBrgb(91, 21, 15)
HSLhsl(5, 72%, 21%)
HSVhsv(5, 84%, 36%)
CMYKcmyk(0%, 76.9%, 83.5%, 64.3%)
CIE-LABlab(19.21, 31.37, 22.45)
CIE-LCHlch(19.21, 38.58, 35.59°)
OKLaboklab(31.55% 0.0898 0.0499)
OKLCHoklch(31.55% 0.103 29.1)
XYZxyz(4.6693, 2.7957, 0.7456)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B150F #0F555B
analogous
#5B0F2F #5B150F #5B3B0F
triadic
#5B150F #0F5B15 #150F5B
tetradic
#5B150F #2F5B0F #0F555B #3B0F5B
square
#5B150F #2F5B0F #0F555B #3B0F5B
split-complementary
#5B150F #0F5B3B #0F2F5B
monochromatic
#1A0604 #260906 #5B150F #902118 #C42D20

Accessibility & contrast

On white

13.47
#5B150F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5B150F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B150F
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B150F#FFFFFF#000000##FFFFFF
##5B150F1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250E
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#650014
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b150f;
/* rgb */ color: rgb(91, 21, 15);
/* oklch */ color: oklch(31.6% 0.103 29.1);
Tailwind
colors: {
  custom: {
    50: '#90584e',
    500: '#5b150f',
    950: '#000000',
  },
}
SCSS
$custom: #5b150f;
$custom-light: #90584e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b150f",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 15
  },
  "hsl": {
    "h": 4.737,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31554,
    "c": 0.10269,
    "h": 29.1
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#5B150F
secondary
#318D95
accent
#E0EE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5B150F

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

Preview Lab → · Contrast checker → · Palette generator →

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