#5A1113#5A1113

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

Color values

HEX#5A1113
RGBrgb(90, 17, 19)
HSLhsl(358, 68%, 21%)
HSVhsv(358, 81%, 35%)
CMYKcmyk(0%, 81.1%, 78.9%, 64.7%)
CIE-LABlab(18.46, 32.80, 19.20)
CIE-LCHlch(18.46, 38.01, 30.34°)
OKLaboklab(30.98% 0.0954 0.0435)
OKLCHoklch(30.98% 0.105 24.5)
XYZxyz(4.5350, 2.6223, 0.8833)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1113 #115A58
analogous
#5A1137 #5A1113 #5A3311
triadic
#5A1113 #135A11 #11135A
tetradic
#5A1113 #375A11 #115A58 #33115A
square
#5A1113 #375A11 #115A58 #33115A
split-complementary
#5A1113 #115A33 #11375A
monochromatic
#1A0505 #270708 #5A1113 #8D1B1E #C12429

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A1113#FFFFFF#000000##FFFFFF
##5A11131.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)
#272312
Deuteranopia (green-blind)
#393310
Tritanopia (blue-blind)
#640013
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1113;
/* rgb */ color: rgb(90, 17, 19);
/* oklch */ color: oklch(31.0% 0.105 24.5);
Tailwind
colors: {
  custom: {
    50: '#8f5650',
    500: '#5a1113',
    950: '#000000',
  },
}
SCSS
$custom: #5a1113;
$custom-light: #8f5650;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1113",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 19
  },
  "hsl": {
    "h": 358.356,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30978,
    "c": 0.10483,
    "h": 24.5
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#5A1113
secondary
#349390
accent
#EBE63D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1113

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

Preview Lab → · Contrast checker → · Palette generator →

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