#5A2211#5A2211

#5A2211 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.2% C 0.087 H 37.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#5A2211
RGBrgb(90, 34, 17)
HSLhsl(14, 68%, 21%)
HSVhsv(14, 81%, 35%)
CMYKcmyk(0%, 62.2%, 81.1%, 64.7%)
CIE-LABlab(21.43, 24.64, 23.77)
CIE-LCHlch(21.43, 34.24, 43.97°)
OKLaboklab(33.2% 0.0694 0.0529)
OKLCHoklch(33.2% 0.087 37.3)
XYZxyz(4.8902, 3.3588, 0.9210)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A2211 #11495A
analogous
#5A1124 #5A2211 #5A4611
triadic
#5A2211 #115A22 #22115A
tetradic
#5A2211 #245A11 #11495A #46115A
square
#5A2211 #245A11 #11495A #46115A
split-complementary
#5A2211 #115A46 #11245A
monochromatic
#1A0A05 #270F07 #5A2211 #8D351B #C14924

Accessibility & contrast

On white

12.56
#5A2211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5A2211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A2211
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A2211#FFFFFF#000000##FFFFFF
##5A22111.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C0F
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#64151E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a2211;
/* rgb */ color: rgb(90, 34, 17);
/* oklch */ color: oklch(33.2% 0.087 37.3);
Tailwind
colors: {
  custom: {
    50: '#8e5f50',
    500: '#5a2211',
    950: '#000000',
  },
}
SCSS
$custom: #5a2211;
$custom-light: #8e5f50;
$custom-dark: #000000;
JSON
{
  "hex": "#5a2211",
  "rgb": {
    "r": 90,
    "g": 34,
    "b": 17
  },
  "hsl": {
    "h": 13.973,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33196,
    "c": 0.08725,
    "h": 37.3
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#5A2211
secondary
#347D93
accent
#C2EB3D
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5A2211

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

Preview Lab → · Contrast checker → · Palette generator →

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