#5A1210#5A1210

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

Color values

HEX#5A1210
RGBrgb(90, 18, 16)
HSLhsl(2, 70%, 21%)
HSVhsv(2, 82%, 35%)
CMYKcmyk(0%, 80%, 82.2%, 64.7%)
CIE-LABlab(18.56, 32.28, 21.10)
CIE-LCHlch(18.56, 38.56, 33.17°)
OKLaboklab(31.04% 0.093 0.0473)
OKLCHoklch(31.04% 0.104 27)
XYZxyz(4.5268, 2.6444, 0.7622)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1210 #10585A
analogous
#5A1033 #5A1210 #5A3710
triadic
#5A1210 #105A12 #12105A
tetradic
#5A1210 #335A10 #10585A #37105A
square
#5A1210 #335A10 #10585A #37105A
split-complementary
#5A1210 #105A37 #10335A
monochromatic
#1A0505 #260807 #5A1210 #8E1C19 #C22722

Accessibility & contrast

On white

13.74
#5A1210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1210
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1210#FFFFFF#000000##FFFFFF
##5A12101.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230F
Deuteranopia (green-blind)
#39330D
Tritanopia (blue-blind)
#640012
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1210;
/* rgb */ color: rgb(90, 18, 16);
/* oklch */ color: oklch(31.0% 0.104 27.0);
Tailwind
colors: {
  custom: {
    50: '#8f564e',
    500: '#5a1210',
    950: '#000000',
  },
}
SCSS
$custom: #5a1210;
$custom-light: #8f564e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1210",
  "rgb": {
    "r": 90,
    "g": 18,
    "b": 16
  },
  "hsl": {
    "h": 1.622,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31036,
    "c": 0.1043,
    "h": 27
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#5A1210
secondary
#339193
accent
#E8ED3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A1210

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

Preview Lab → · Contrast checker → · Palette generator →

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