#5A130E#5A130E

#5A130E is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.104 H 28.6°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#5A130E
RGBrgb(90, 19, 14)
HSLhsl(4, 73%, 20%)
HSVhsv(4, 84%, 35%)
CMYKcmyk(0%, 78.9%, 84.4%, 64.7%)
CIE-LABlab(18.68, 31.79, 22.30)
CIE-LCHlch(18.68, 38.83, 35.04°)
OKLaboklab(31.12% 0.091 0.0497)
OKLCHoklch(31.12% 0.104 28.6)
XYZxyz(4.5291, 2.6718, 0.6926)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A130E #0E555A
analogous
#5A0E2F #5A130E #5A390E
triadic
#5A130E #0E5A13 #130E5A
tetradic
#5A130E #2F5A0E #0E555A #390E5A
square
#5A130E #2F5A0E #0E555A #390E5A
split-complementary
#5A130E #0E5A39 #0E2F5A
monochromatic
#1A0604 #250806 #5A130E #8F1E16 #C4291E

Accessibility & contrast

On white

13.69
#5A130E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A130E
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A130E#FFFFFF#000000##FFFFFF
##5A130E1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28240D
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#640013
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5a130e;
/* rgb */ color: rgb(90, 19, 14);
/* oklch */ color: oklch(31.1% 0.104 28.6);
Tailwind
colors: {
  custom: {
    50: '#8f574d',
    500: '#5a130e',
    950: '#000000',
  },
}
SCSS
$custom: #5a130e;
$custom-light: #8f574d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a130e",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 14
  },
  "hsl": {
    "h": 3.947,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31117,
    "c": 0.10366,
    "h": 28.6
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#5A130E
secondary
#308D94
accent
#E4F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A130E

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

Preview Lab → · Contrast checker → · Palette generator →

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