#5B150D#5B150D

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

Color values

HEX#5B150D
RGBrgb(91, 21, 13)
HSLhsl(6, 75%, 20%)
HSVhsv(6, 86%, 36%)
CMYKcmyk(0%, 76.9%, 85.7%, 64.3%)
CIE-LABlab(19.18, 31.29, 23.43)
CIE-LCHlch(19.18, 39.09, 36.83°)
OKLaboklab(31.53% 0.0891 0.0519)
OKLCHoklch(31.53% 0.103 30.2)
XYZxyz(4.6557, 2.7903, 0.6741)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B150D #0D535B
analogous
#5B0D2C #5B150D #5B3C0D
triadic
#5B150D #0D5B15 #150D5B
tetradic
#5B150D #2C5B0D #0D535B #3C0D5B
square
#5B150D #2C5B0D #0D535B #3C0D5B
split-complementary
#5B150D #0D5B3C #0D2C5B
monochromatic
#1B0604 #250905 #5B150D #912115 #C62E1C

Accessibility & contrast

On white

13.48
#5B150D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B150D
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B150D#FFFFFF#000000##FFFFFF
##5B150D1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b150d;
/* rgb */ color: rgb(91, 21, 13);
/* oklch */ color: oklch(31.5% 0.103 30.2);
Tailwind
colors: {
  custom: {
    50: '#90584d',
    500: '#5b150d',
    950: '#000000',
  },
}
SCSS
$custom: #5b150d;
$custom-light: #90584d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b150d",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 13
  },
  "hsl": {
    "h": 6.154,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3153,
    "c": 0.10305,
    "h": 30.2
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#5B150D
secondary
#2F8B95
accent
#DEF236
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5B150D

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

Preview Lab → · Contrast checker → · Palette generator →

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