#5A131C#5A131C

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

Color values

HEX#5A131C
RGBrgb(90, 19, 28)
HSLhsl(352, 65%, 21%)
HSVhsv(352, 79%, 35%)
CMYKcmyk(0%, 78.9%, 68.9%, 64.7%)
CIE-LABlab(18.90, 32.55, 13.56)
CIE-LCHlch(18.90, 35.26, 22.61°)
OKLaboklab(31.36% 0.0968 0.0325)
OKLCHoklch(31.36% 0.102 18.6)
XYZxyz(4.6594, 2.7239, 1.3788)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A131C #135A51
analogous
#5A1340 #5A131C #5A2E13
triadic
#5A131C #1C5A13 #131C5A
tetradic
#5A131C #405A13 #135A51 #2E135A
square
#5A131C #405A13 #135A51 #2E135A
split-complementary
#5A131C #135A2E #13405A
monochromatic
#190508 #27080C #5A131C #8D1E2C #BF283B

Accessibility & contrast

On white

13.60
#5A131C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5A131C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A131C
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A131C#FFFFFF#000000##FFFFFF
##5A131C1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a131c;
/* rgb */ color: rgb(90, 19, 28);
/* oklch */ color: oklch(31.4% 0.102 18.6);
Tailwind
colors: {
  custom: {
    50: '#8e5757',
    500: '#5a131c',
    950: '#000000',
  },
}
SCSS
$custom: #5a131c;
$custom-light: #8e5757;
$custom-dark: #000000;
JSON
{
  "hex": "#5a131c",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 28
  },
  "hsl": {
    "h": 352.394,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31356,
    "c": 0.10206,
    "h": 18.6
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#5A131C
secondary
#379287
accent
#E8D340
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5A131C

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

Preview Lab → · Contrast checker → · Palette generator →

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