#5A190E#5A190E

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

Color values

HEX#5A190E
RGBrgb(90, 25, 14)
HSLhsl(9, 73%, 20%)
HSVhsv(9, 84%, 35%)
CMYKcmyk(0%, 72.2%, 84.4%, 64.7%)
CIE-LABlab(19.64, 29.15, 23.41)
CIE-LCHlch(19.64, 37.39, 38.77°)
OKLaboklab(31.84% 0.0827 0.0519)
OKLCHoklch(31.84% 0.098 32.1)
XYZxyz(4.6439, 2.9013, 0.7309)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A190E #0E4F5A
analogous
#5A0E29 #5A190E #5A3F0E
triadic
#5A190E #0E5A19 #190E5A
tetradic
#5A190E #295A0E #0E4F5A #3F0E5A
square
#5A190E #295A0E #0E4F5A #3F0E5A
split-complementary
#5A190E #0E5A3F #0E295A
monochromatic
#1A0704 #250A06 #5A190E #8F2816 #C4361E

Accessibility & contrast

On white

13.29
#5A190E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5A190E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A190E
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A190E#FFFFFF#000000##FFFFFF
##5A190E1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260C
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#640617
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a190e;
/* rgb */ color: rgb(90, 25, 14);
/* oklch */ color: oklch(31.8% 0.098 32.1);
Tailwind
colors: {
  custom: {
    50: '#8f5a4d',
    500: '#5a190e',
    950: '#000000',
  },
}
SCSS
$custom: #5a190e;
$custom-light: #8f5a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a190e",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 14
  },
  "hsl": {
    "h": 8.684,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3184,
    "c": 0.09762,
    "h": 32.1
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#5A190E
secondary
#308594
accent
#D5F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5A190E

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

Preview Lab → · Contrast checker → · Palette generator →

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