#5B2829#5B2829

#5B2829 is a dark, moderate red. Relative luminance 0.039; OKLCH L 34.8% C 0.075 H 20.5°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#5B2829
RGBrgb(91, 40, 41)
HSLhsl(359, 39%, 26%)
HSVhsv(359, 56%, 36%)
CMYKcmyk(0%, 56%, 54.9%, 64.3%)
CIE-LABlab(23.35, 23.49, 10.52)
CIE-LCHlch(23.35, 25.74, 24.13°)
OKLaboklab(34.82% 0.0704 0.0264)
OKLCHoklch(34.82% 0.075 20.5)
XYZxyz(5.4738, 3.9024, 2.5624)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2829 #285B5A
analogous
#5B2842 #5B2829 #5B4028
triadic
#5B2829 #295B28 #28295B
tetradic
#5B2829 #425B28 #285B5A #40285B
square
#5B2829 #425B28 #285B5A #40285B
split-complementary
#5B2829 #285B40 #28425B
monochromatic
#15090A #301516 #5B2829 #863B3C #B04D4F

Accessibility & contrast

On white

11.80
#5B2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5B2829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2829
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2829#FFFFFF#000000##FFFFFF
##5B28291.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343129
Deuteranopia (green-blind)
#403C28
Tritanopia (blue-blind)
#632029
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5b2829;
/* rgb */ color: rgb(91, 40, 41);
/* oklch */ color: oklch(34.8% 0.075 20.5);
Tailwind
colors: {
  custom: {
    50: '#8d6362',
    500: '#5b2829',
    950: '#000000',
  },
}
SCSS
$custom: #5b2829;
$custom-light: #8d6362;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2829",
  "rgb": {
    "r": 91,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 358.824,
    "s": 38.931,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34821,
    "c": 0.07512,
    "h": 20.5
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#5B2829
secondary
#518E8D
accent
#CFCD59
background
#F8F6F5
surface
#F0EBEA
border
#CBC6C6
text
#0C0505
muted
#7D7A79

Preview Lab

Preview with #5B2829

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

Preview Lab → · Contrast checker → · Palette generator →

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