#5A190C#5A190C

#5A190C is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.8% C 0.098 H 33.2°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#5A190C
RGBrgb(90, 25, 12)
HSLhsl(10, 76%, 20%)
HSVhsv(10, 87%, 35%)
CMYKcmyk(0%, 72.2%, 86.7%, 64.7%)
CIE-LABlab(19.62, 29.07, 24.35)
CIE-LCHlch(19.62, 37.92, 39.95°)
OKLaboklab(31.82% 0.082 0.0537)
OKLCHoklch(31.82% 0.098 33.2)
XYZxyz(4.6310, 2.8962, 0.6629)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A190C #0C4D5A
analogous
#5A0C26 #5A190C #5A400C
triadic
#5A190C #0C5A19 #190C5A
tetradic
#5A190C #265A0C #0C4D5A #400C5A
square
#5A190C #265A0C #0C4D5A #400C5A
split-complementary
#5A190C #0C5A40 #0C265A
monochromatic
#1B0704 #240A05 #5A190C #902813 #C6371A

Accessibility & contrast

On white

13.30
#5A190C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A190C
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A190C#FFFFFF#000000##FFFFFF
##5A190C1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260A
Deuteranopia (green-blind)
#3C3509
Tritanopia (blue-blind)
#640517
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a190c;
/* rgb */ color: rgb(90, 25, 12);
/* oklch */ color: oklch(31.8% 0.098 33.2);
Tailwind
colors: {
  custom: {
    50: '#8f5a4c',
    500: '#5a190c',
    950: '#000000',
  },
}
SCSS
$custom: #5a190c;
$custom-light: #8f5a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a190c",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 12
  },
  "hsl": {
    "h": 10,
    "s": 76.471,
    "l": 20
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.09805,
    "h": 33.2
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#5A190C
secondary
#2D8395
accent
#D3F335
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5A190C

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

Preview Lab → · Contrast checker → · Palette generator →

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