#5A190F#5A190F

#5A190F is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.097 H 31.5°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#5A190F
RGBrgb(90, 25, 15)
HSLhsl(8, 71%, 21%)
HSVhsv(8, 83%, 35%)
CMYKcmyk(0%, 72.2%, 83.3%, 64.7%)
CIE-LABlab(19.66, 29.19, 22.91)
CIE-LCHlch(19.66, 37.11, 38.13°)
OKLaboklab(31.85% 0.0831 0.0509)
OKLCHoklch(31.85% 0.097 31.5)
XYZxyz(4.6508, 2.9041, 0.7675)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A190F #0F505A
analogous
#5A0F2A #5A190F #5A3E0F
triadic
#5A190F #0F5A19 #190F5A
tetradic
#5A190F #2A5A0F #0F505A #3E0F5A
square
#5A190F #2A5A0F #0F505A #3E0F5A
split-complementary
#5A190F #0F5A3E #0F2A5A
monochromatic
#1A0704 #260A06 #5A190F #8E2818 #C33620

Accessibility & contrast

On white

13.29
#5A190F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5A190F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A190F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A190F#FFFFFF#000000##FFFFFF
##5A190F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260D
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#640617
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a190f;
/* rgb */ color: rgb(90, 25, 15);
/* oklch */ color: oklch(31.9% 0.097 31.5);
Tailwind
colors: {
  custom: {
    50: '#8f5a4e',
    500: '#5a190f',
    950: '#000000',
  },
}
SCSS
$custom: #5a190f;
$custom-light: #8f5a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a190f",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 15
  },
  "hsl": {
    "h": 8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31853,
    "c": 0.09741,
    "h": 31.5
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#5A190F
secondary
#318694
accent
#D6EE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5A190F

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

Preview Lab → · Contrast checker → · Palette generator →

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