#5A1010#5A1010

#5A1010 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.106 H 26.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#5A1010
RGBrgb(90, 16, 16)
HSLhsl(0, 70%, 21%)
HSVhsv(0, 82%, 35%)
CMYKcmyk(0%, 82.2%, 82.2%, 64.7%)
CIE-LABlab(18.29, 33.04, 20.78)
CIE-LCHlch(18.29, 39.03, 32.17°)
OKLaboklab(30.83% 0.0954 0.0466)
OKLCHoklch(30.83% 0.106 26.1)
XYZxyz(4.4958, 2.5824, 0.7518)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1010 #105A5A
analogous
#5A1035 #5A1010 #5A3510
triadic
#5A1010 #105A10 #10105A
tetradic
#5A1010 #355A10 #105A5A #35105A
square
#5A1010 #355A10 #105A5A #35105A
split-complementary
#5A1010 #105A35 #10355A
monochromatic
#1A0505 #260707 #5A1010 #8E1919 #C22222

Accessibility & contrast

On white

13.85
#5A1010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#5A1010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1010
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1010#FFFFFF#000000##FFFFFF
##5A10101.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220F
Deuteranopia (green-blind)
#39320D
Tritanopia (blue-blind)
#640011
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1010;
/* rgb */ color: rgb(90, 16, 16);
/* oklch */ color: oklch(30.8% 0.106 26.1);
Tailwind
colors: {
  custom: {
    50: '#8f564e',
    500: '#5a1010',
    950: '#000000',
  },
}
SCSS
$custom: #5a1010;
$custom-light: #8f564e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1010",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 16
  },
  "hsl": {
    "h": 0,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30834,
    "c": 0.10615,
    "h": 26.1
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#5A1010
secondary
#339393
accent
#EDED3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A1010

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

Preview Lab → · Contrast checker → · Palette generator →

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