#5A1612#5A1612

#5A1612 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.5% C 0.100 H 27.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#5A1612
RGBrgb(90, 22, 18)
HSLhsl(3, 67%, 21%)
HSVhsv(3, 80%, 35%)
CMYKcmyk(0%, 75.6%, 80%, 64.7%)
CIE-LABlab(19.19, 30.70, 20.67)
CIE-LCHlch(19.19, 37.01, 33.95°)
OKLaboklab(31.52% 0.0885 0.0465)
OKLCHoklch(31.52% 0.1 27.7)
XYZxyz(4.6131, 2.7918, 0.8681)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1612 #12565A
analogous
#5A1232 #5A1612 #5A3A12
triadic
#5A1612 #125A16 #16125A
tetradic
#5A1612 #325A12 #12565A #3A125A
square
#5A1612 #325A12 #12565A #3A125A
split-complementary
#5A1612 #125A3A #12325A
monochromatic
#1A0605 #270A08 #5A1612 #8D221C #C02F26

Accessibility & contrast

On white

13.48
#5A1612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5A1612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1612
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1612#FFFFFF#000000##FFFFFF
##5A16121.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2511
Deuteranopia (green-blind)
#3B3410
Tritanopia (blue-blind)
#640116
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1612;
/* rgb */ color: rgb(90, 22, 18);
/* oklch */ color: oklch(31.5% 0.100 27.7);
Tailwind
colors: {
  custom: {
    50: '#8f5850',
    500: '#5a1612',
    950: '#000000',
  },
}
SCSS
$custom: #5a1612;
$custom-light: #8f5850;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1612",
  "rgb": {
    "r": 90,
    "g": 22,
    "b": 18
  },
  "hsl": {
    "h": 3.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31516,
    "c": 0.09997,
    "h": 27.7
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#5A1612
secondary
#358D93
accent
#E0EA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5A1612

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

Preview Lab → · Contrast checker → · Palette generator →

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