#5A2113#5A2113

#5A2113 is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.1% C 0.088 H 35.0°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#5A2113
RGBrgb(90, 33, 19)
HSLhsl(12, 65%, 21%)
HSVhsv(12, 79%, 35%)
CMYKcmyk(0%, 63.3%, 78.9%, 64.7%)
CIE-LABlab(21.24, 25.29, 22.36)
CIE-LCHlch(21.24, 33.76, 41.47°)
OKLaboklab(33.06% 0.0718 0.0503)
OKLCHoklch(33.06% 0.088 35)
XYZxyz(4.8783, 3.3090, 0.9978)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2113 #134C5A
analogous
#5A1329 #5A2113 #5A4513
triadic
#5A2113 #135A21 #21135A
tetradic
#5A2113 #295A13 #134C5A #45135A
square
#5A2113 #295A13 #134C5A #45135A
split-complementary
#5A2113 #135A45 #13295A
monochromatic
#190905 #270E08 #5A2113 #8D341E #BF4628

Accessibility & contrast

On white

12.64
#5A2113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5A2113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2113
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2113#FFFFFF#000000##FFFFFF
##5A21131.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B11
Deuteranopia (green-blind)
#3F3811
Tritanopia (blue-blind)
#63141E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a2113;
/* rgb */ color: rgb(90, 33, 19);
/* oklch */ color: oklch(33.1% 0.088 35.0);
Tailwind
colors: {
  custom: {
    50: '#8e5e51',
    500: '#5a2113',
    950: '#000000',
  },
}
SCSS
$custom: #5a2113;
$custom-light: #8e5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2113",
  "rgb": {
    "r": 90,
    "g": 33,
    "b": 19
  },
  "hsl": {
    "h": 11.831,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33063,
    "c": 0.08772,
    "h": 35
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#5A2113
secondary
#378092
accent
#C7E840
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5A2113

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

Preview Lab → · Contrast checker → · Palette generator →

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