#5A1013#5A1013

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

Color values

HEX#5A1013
RGBrgb(90, 16, 19)
HSLhsl(358, 70%, 21%)
HSVhsv(358, 82%, 35%)
CMYKcmyk(0%, 82.2%, 78.9%, 64.7%)
CIE-LABlab(18.33, 33.17, 19.04)
CIE-LCHlch(18.33, 38.25, 29.85°)
OKLaboklab(30.88% 0.0965 0.0432)
OKLCHoklch(30.88% 0.106 24.1)
XYZxyz(4.5198, 2.5920, 0.8783)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1013 #105A57
analogous
#5A1038 #5A1013 #5A3210
triadic
#5A1013 #135A10 #10135A
tetradic
#5A1013 #385A10 #105A57 #32105A
square
#5A1013 #385A10 #105A57 #32105A
split-complementary
#5A1013 #105A32 #10385A
monochromatic
#1A0505 #260708 #5A1013 #8E191E #C22229

Accessibility & contrast

On white

13.83
#5A1013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1013
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1013#FFFFFF#000000##FFFFFF
##5A10131.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262312
Deuteranopia (green-blind)
#393210
Tritanopia (blue-blind)
#640012
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1013;
/* rgb */ color: rgb(90, 16, 19);
/* oklch */ color: oklch(30.9% 0.106 24.1);
Tailwind
colors: {
  custom: {
    50: '#8f5650',
    500: '#5a1013',
    950: '#000000',
  },
}
SCSS
$custom: #5a1013;
$custom-light: #8f5650;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1013",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 19
  },
  "hsl": {
    "h": 357.568,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30879,
    "c": 0.10576,
    "h": 24.1
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#5A1013
secondary
#33938F
accent
#EDE53B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1013

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

Preview Lab → · Contrast checker → · Palette generator →

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