#5A101B#5A101B

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

Color values

HEX#5A101B
RGBrgb(90, 16, 27)
HSLhsl(351, 70%, 21%)
HSVhsv(351, 82%, 35%)
CMYKcmyk(0%, 82.2%, 70%, 64.7%)
CIE-LABlab(18.47, 33.63, 13.71)
CIE-LCHlch(18.47, 36.32, 22.18°)
OKLaboklab(31.03% 0.1 0.0327)
OKLCHoklch(31.03% 0.105 18.1)
XYZxyz(4.6001, 2.6241, 1.3010)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A101B #105A4F
analogous
#5A1040 #5A101B #5A2A10
triadic
#5A101B #1B5A10 #101B5A
tetradic
#5A101B #405A10 #105A4F #2A105A
square
#5A101B #405A10 #105A4F #2A105A
split-complementary
#5A101B #105A2A #10405A
monochromatic
#1A0508 #26070B #5A101B #8E192B #C2223A

Accessibility & contrast

On white

13.77
#5A101B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A101B
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A101B#FFFFFF#000000##FFFFFF
##5A101B1.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231B
Deuteranopia (green-blind)
#383319
Tritanopia (blue-blind)
#630015
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a101b;
/* rgb */ color: rgb(90, 16, 27);
/* oklch */ color: oklch(31.0% 0.105 18.1);
Tailwind
colors: {
  custom: {
    50: '#8e5657',
    500: '#5a101b',
    950: '#000000',
  },
}
SCSS
$custom: #5a101b;
$custom-light: #8e5657;
$custom-dark: #000000;
JSON
{
  "hex": "#5a101b",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 27
  },
  "hsl": {
    "h": 351.081,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31029,
    "c": 0.10519,
    "h": 18.1
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#5A101B
secondary
#339385
accent
#EDD23B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A101B

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

Preview Lab → · Contrast checker → · Palette generator →

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