#5A131D#5A131D

#5A131D is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.4% C 0.102 H 17.7°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#5A131D
RGBrgb(90, 19, 29)
HSLhsl(352, 65%, 21%)
HSVhsv(352, 79%, 35%)
CMYKcmyk(0%, 78.9%, 67.8%, 64.7%)
CIE-LABlab(18.92, 32.62, 12.88)
CIE-LCHlch(18.92, 35.07, 21.55°)
OKLaboklab(31.38% 0.0972 0.0311)
OKLCHoklch(31.38% 0.102 17.7)
XYZxyz(4.6716, 2.7288, 1.4429)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A131D #135A50
analogous
#5A1341 #5A131D #5A2D13
triadic
#5A131D #1D5A13 #131D5A
tetradic
#5A131D #415A13 #135A50 #2D135A
square
#5A131D #415A13 #135A50 #2D135A
split-complementary
#5A131D #135A2D #13415A
monochromatic
#190508 #27080D #5A131D #8D1E2D #BF283E

Accessibility & contrast

On white

13.59
#5A131D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5A131D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A131D
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A131D#FFFFFF#000000##FFFFFF
##5A131D1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27241D
Deuteranopia (green-blind)
#39331B
Tritanopia (blue-blind)
#630017
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a131d;
/* rgb */ color: rgb(90, 19, 29);
/* oklch */ color: oklch(31.4% 0.102 17.7);
Tailwind
colors: {
  custom: {
    50: '#8e5758',
    500: '#5a131d',
    950: '#000000',
  },
}
SCSS
$custom: #5a131d;
$custom-light: #8e5758;
$custom-dark: #000000;
JSON
{
  "hex": "#5a131d",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 29
  },
  "hsl": {
    "h": 351.549,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31378,
    "c": 0.10203,
    "h": 17.7
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#5A131D
secondary
#379285
accent
#E8D040
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A131D

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

Preview Lab → · Contrast checker → · Palette generator →

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