#5A1C19#5A1C19

#5A1C19 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.4% C 0.092 H 26.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#5A1C19
RGBrgb(90, 28, 25)
HSLhsl(3, 57%, 23%)
HSVhsv(3, 72%, 35%)
CMYKcmyk(0%, 68.9%, 72.2%, 64.7%)
CIE-LABlab(20.34, 28.27, 17.42)
CIE-LCHlch(20.34, 33.21, 31.65°)
OKLaboklab(32.41% 0.0825 0.0408)
OKLCHoklch(32.41% 0.092 26.3)
XYZxyz(4.8077, 3.0750, 1.2599)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1C19 #19575A
analogous
#5A1937 #5A1C19 #5A3C19
triadic
#5A1C19 #195A1C #1C195A
tetradic
#5A1C19 #375A19 #19575A #3C195A
square
#5A1C19 #375A19 #19575A #3C195A
split-complementary
#5A1C19 #195A3C #19375A
monochromatic
#180707 #2A0D0C #5A1C19 #8A2B26 #BA3A34

Accessibility & contrast

On white

13.00
#5A1C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5A1C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1C19
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1C19#FFFFFF#000000##FFFFFF
##5A1C191.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2918
Deuteranopia (green-blind)
#3C3617
Tritanopia (blue-blind)
#630E1C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a1c19;
/* rgb */ color: rgb(90, 28, 25);
/* oklch */ color: oklch(32.4% 0.092 26.3);
Tailwind
colors: {
  custom: {
    50: '#8e5c55',
    500: '#5a1c19',
    950: '#000000',
  },
}
SCSS
$custom: #5a1c19;
$custom-light: #8e5c55;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1c19",
  "rgb": {
    "r": 90,
    "g": 28,
    "b": 25
  },
  "hsl": {
    "h": 2.769,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32414,
    "c": 0.09199,
    "h": 26.3
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#5A1C19
secondary
#3E8D90
accent
#D9E048
background
#F9F5F4
surface
#F1E9E8
border
#CBC5C4
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5A1C19

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

Preview Lab → · Contrast checker → · Palette generator →

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