#5A1C0F#5A1C0F

#5A1C0F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.094 H 33.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#5A1C0F
RGBrgb(90, 28, 15)
HSLhsl(10, 71%, 21%)
HSVhsv(10, 83%, 35%)
CMYKcmyk(0%, 68.9%, 83.3%, 64.7%)
CIE-LABlab(20.20, 27.72, 23.53)
CIE-LCHlch(20.20, 36.36, 40.32°)
OKLaboklab(32.26% 0.0785 0.0521)
OKLCHoklch(32.26% 0.094 33.6)
XYZxyz(4.7184, 3.0393, 0.7900)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1C0F #0F4D5A
analogous
#5A0F27 #5A1C0F #5A410F
triadic
#5A1C0F #0F5A1C #1C0F5A
tetradic
#5A1C0F #275A0F #0F4D5A #410F5A
square
#5A1C0F #275A0F #0F4D5A #410F5A
split-complementary
#5A1C0F #0F5A41 #0F275A
monochromatic
#1A0804 #260C06 #5A1C0F #8E2C18 #C33D20

Accessibility & contrast

On white

13.06
#5A1C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1C0F
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1C0F#FFFFFF#000000##FFFFFF
##5A1C0F1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E280D
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#640B19
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a1c0f;
/* rgb */ color: rgb(90, 28, 15);
/* oklch */ color: oklch(32.3% 0.094 33.6);
Tailwind
colors: {
  custom: {
    50: '#8f5b4e',
    500: '#5a1c0f',
    950: '#000000',
  },
}
SCSS
$custom: #5a1c0f;
$custom-light: #8f5b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1c0f",
  "rgb": {
    "r": 90,
    "g": 28,
    "b": 15
  },
  "hsl": {
    "h": 10.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32262,
    "c": 0.09422,
    "h": 33.6
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#5A1C0F
secondary
#318394
accent
#CFEE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0401
muted
#7E7977

Preview Lab

Preview with #5A1C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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