#5A1019#5A1019

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

Color values

HEX#5A1019
RGBrgb(90, 16, 25)
HSLhsl(353, 70%, 21%)
HSVhsv(353, 82%, 35%)
CMYKcmyk(0%, 82.2%, 72.2%, 64.7%)
CIE-LABlab(18.43, 33.51, 15.07)
CIE-LCHlch(18.43, 36.74, 24.21°)
OKLaboklab(30.99% 0.0991 0.0355)
OKLCHoklch(30.99% 0.105 19.7)
XYZxyz(4.5777, 2.6151, 1.1832)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1019 #105A51
analogous
#5A103E #5A1019 #5A2C10
triadic
#5A1019 #195A10 #10195A
tetradic
#5A1019 #3E5A10 #105A51 #2C105A
square
#5A1019 #3E5A10 #105A51 #2C105A
split-complementary
#5A1019 #105A2C #103E5A
monochromatic
#1A0507 #26070B #5A1019 #8E1927 #C22236

Accessibility & contrast

On white

13.79
#5A1019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1019
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1019#FFFFFF#000000##FFFFFF
##5A10191.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262319
Deuteranopia (green-blind)
#383317
Tritanopia (blue-blind)
#640014
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a1019;
/* rgb */ color: rgb(90, 16, 25);
/* oklch */ color: oklch(31.0% 0.105 19.7);
Tailwind
colors: {
  custom: {
    50: '#8f5655',
    500: '#5a1019',
    950: '#000000',
  },
}
SCSS
$custom: #5a1019;
$custom-light: #8f5655;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1019",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 25
  },
  "hsl": {
    "h": 352.703,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30987,
    "c": 0.10526,
    "h": 19.7
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#5A1019
secondary
#339387
accent
#EDD73B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A1019

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

Preview Lab → · Contrast checker → · Palette generator →

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