#5A101A#5A101A

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

Color values

HEX#5A101A
RGBrgb(90, 16, 26)
HSLhsl(352, 70%, 21%)
HSVhsv(352, 82%, 35%)
CMYKcmyk(0%, 82.2%, 71.1%, 64.7%)
CIE-LABlab(18.45, 33.57, 14.39)
CIE-LCHlch(18.45, 36.52, 23.20°)
OKLaboklab(31.01% 0.0995 0.0341)
OKLCHoklch(31.01% 0.105 18.9)
XYZxyz(4.5887, 2.6195, 1.2411)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A101A #105A50
analogous
#5A103F #5A101A #5A2B10
triadic
#5A101A #1A5A10 #101A5A
tetradic
#5A101A #3F5A10 #105A50 #2B105A
square
#5A101A #3F5A10 #105A50 #2B105A
split-complementary
#5A101A #105A2B #103F5A
monochromatic
#1A0508 #26070B #5A101A #8E1929 #C22238

Accessibility & contrast

On white

13.78
#5A101A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A101A
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A101A#FFFFFF#000000##FFFFFF
##5A101A1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231A
Deuteranopia (green-blind)
#383318
Tritanopia (blue-blind)
#640014
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a101a;
/* rgb */ color: rgb(90, 16, 26);
/* oklch */ color: oklch(31.0% 0.105 18.9);
Tailwind
colors: {
  custom: {
    50: '#8f5656',
    500: '#5a101a',
    950: '#000000',
  },
}
SCSS
$custom: #5a101a;
$custom-light: #8f5656;
$custom-dark: #000000;
JSON
{
  "hex": "#5a101a",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 26
  },
  "hsl": {
    "h": 351.892,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31008,
    "c": 0.10522,
    "h": 18.9
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#5A101A
secondary
#339386
accent
#EDD53B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A101A

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

Preview Lab → · Contrast checker → · Palette generator →

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