#5A1813#5A1813

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

Color values

HEX#5A1813
RGBrgb(90, 24, 19)
HSLhsl(4, 65%, 21%)
HSVhsv(4, 79%, 35%)
CMYKcmyk(0%, 73.3%, 78.9%, 64.7%)
CIE-LABlab(19.53, 29.85, 20.44)
CIE-LCHlch(19.53, 36.18, 34.41°)
OKLaboklab(31.78% 0.086 0.0462)
OKLCHoklch(31.78% 0.098 28.2)
XYZxyz(4.6611, 2.8746, 0.9254)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1813 #13555A
analogous
#5A1332 #5A1813 #5A3C13
triadic
#5A1813 #135A18 #18135A
tetradic
#5A1813 #325A13 #13555A #3C135A
square
#5A1813 #325A13 #13555A #3C135A
split-complementary
#5A1813 #135A3C #13325A
monochromatic
#190705 #270B08 #5A1813 #8D251E #BF3328

Accessibility & contrast

On white

13.34
#5A1813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1813
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1813#FFFFFF#000000##FFFFFF
##5A18131.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2612
Deuteranopia (green-blind)
#3B3511
Tritanopia (blue-blind)
#640517
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1813;
/* rgb */ color: rgb(90, 24, 19);
/* oklch */ color: oklch(31.8% 0.098 28.2);
Tailwind
colors: {
  custom: {
    50: '#8f5951',
    500: '#5a1813',
    950: '#000000',
  },
}
SCSS
$custom: #5a1813;
$custom-light: #8f5951;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1813",
  "rgb": {
    "r": 90,
    "g": 24,
    "b": 19
  },
  "hsl": {
    "h": 4.225,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31778,
    "c": 0.09766,
    "h": 28.2
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#5A1813
secondary
#378C92
accent
#DCE840
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5A1813

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

Preview Lab → · Contrast checker → · Palette generator →

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