#5A1114#5A1114

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

Color values

HEX#5A1114
RGBrgb(90, 17, 20)
HSLhsl(358, 68%, 21%)
HSVhsv(358, 81%, 35%)
CMYKcmyk(0%, 81.1%, 77.8%, 64.7%)
CIE-LABlab(18.48, 32.85, 18.57)
CIE-LCHlch(18.48, 37.74, 29.47°)
OKLaboklab(30.99% 0.0958 0.0423)
OKLCHoklch(30.99% 0.105 23.8)
XYZxyz(4.5437, 2.6258, 0.9293)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1114 #115A57
analogous
#5A1138 #5A1114 #5A3211
triadic
#5A1114 #145A11 #11145A
tetradic
#5A1114 #385A11 #115A57 #32115A
square
#5A1114 #385A11 #115A57 #32115A
split-complementary
#5A1114 #115A32 #11385A
monochromatic
#1A0506 #270709 #5A1114 #8D1B1F #C1242B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A1114#FFFFFF#000000##FFFFFF
##5A11141.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272313
Deuteranopia (green-blind)
#393311
Tritanopia (blue-blind)
#640013
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1114;
/* rgb */ color: rgb(90, 17, 20);
/* oklch */ color: oklch(31.0% 0.105 23.8);
Tailwind
colors: {
  custom: {
    50: '#8f5651',
    500: '#5a1114',
    950: '#000000',
  },
}
SCSS
$custom: #5a1114;
$custom-light: #8f5651;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1114",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 20
  },
  "hsl": {
    "h": 357.534,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30994,
    "c": 0.10471,
    "h": 23.8
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#5A1114
secondary
#34938F
accent
#EBE43D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1114

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

Preview Lab → · Contrast checker → · Palette generator →

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