#5A1211#5A1211

#5A1211 is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.1% C 0.104 H 26.3°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#5A1211
RGBrgb(90, 18, 17)
HSLhsl(1, 68%, 21%)
HSVhsv(1, 81%, 35%)
CMYKcmyk(0%, 80%, 81.1%, 64.7%)
CIE-LABlab(18.57, 32.32, 20.54)
CIE-LCHlch(18.57, 38.30, 32.44°)
OKLaboklab(31.05% 0.0934 0.0462)
OKLCHoklch(31.05% 0.104 26.3)
XYZxyz(4.5345, 2.6474, 0.8025)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1211 #11595A
analogous
#5A1134 #5A1211 #5A3611
triadic
#5A1211 #115A12 #12115A
tetradic
#5A1211 #345A11 #11595A #36115A
square
#5A1211 #345A11 #11595A #36115A
split-complementary
#5A1211 #115A36 #11345A
monochromatic
#1A0505 #270807 #5A1211 #8D1C1B #C12724

Accessibility & contrast

On white

13.73
#5A1211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5A1211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1211
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1211#FFFFFF#000000##FFFFFF
##5A12111.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282310
Deuteranopia (green-blind)
#39330E
Tritanopia (blue-blind)
#640013
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1211;
/* rgb */ color: rgb(90, 18, 17);
/* oklch */ color: oklch(31.1% 0.104 26.3);
Tailwind
colors: {
  custom: {
    50: '#8f564f',
    500: '#5a1211',
    950: '#000000',
  },
}
SCSS
$custom: #5a1211;
$custom-light: #8f564f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1211",
  "rgb": {
    "r": 90,
    "g": 18,
    "b": 17
  },
  "hsl": {
    "h": 0.822,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31051,
    "c": 0.10415,
    "h": 26.3
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#5A1211
secondary
#349293
accent
#E9EB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1211

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

Preview Lab → · Contrast checker → · Palette generator →

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