#5A2013#5A2013

#5A2013 is a dark, moderate red. Relative luminance 0.033; OKLCH L 32.9% C 0.089 H 34.1°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#5A2013
RGBrgb(90, 32, 19)
HSLhsl(11, 65%, 21%)
HSVhsv(11, 79%, 35%)
CMYKcmyk(0%, 64.4%, 78.9%, 64.7%)
CIE-LABlab(21.04, 25.83, 22.13)
CIE-LCHlch(21.04, 34.01, 40.58°)
OKLaboklab(32.91% 0.0735 0.0498)
OKLCHoklch(32.91% 0.089 34.1)
XYZxyz(4.8510, 3.2544, 0.9887)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2013 #134D5A
analogous
#5A132A #5A2013 #5A4413
triadic
#5A2013 #135A20 #20135A
tetradic
#5A2013 #2A5A13 #134D5A #44135A
square
#5A2013 #2A5A13 #134D5A #44135A
split-complementary
#5A2013 #135A44 #132A5A
monochromatic
#190905 #270E08 #5A2013 #8D321E #BF4428

Accessibility & contrast

On white

12.72
#5A2013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5A2013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2013
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2013#FFFFFF#000000##FFFFFF
##5A20131.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B11
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#63131D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a2013;
/* rgb */ color: rgb(90, 32, 19);
/* oklch */ color: oklch(32.9% 0.089 34.1);
Tailwind
colors: {
  custom: {
    50: '#8e5e51',
    500: '#5a2013',
    950: '#000000',
  },
}
SCSS
$custom: #5a2013;
$custom-light: #8e5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2013",
  "rgb": {
    "r": 90,
    "g": 32,
    "b": 19
  },
  "hsl": {
    "h": 10.986,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32907,
    "c": 0.08881,
    "h": 34.1
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#5A2013
secondary
#378192
accent
#C9E840
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5A2013

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

Preview Lab → · Contrast checker → · Palette generator →

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