#5A1310#5A1310

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

Color values

HEX#5A1310
RGBrgb(90, 19, 16)
HSLhsl(2, 70%, 21%)
HSVhsv(2, 82%, 35%)
CMYKcmyk(0%, 78.9%, 82.2%, 64.7%)
CIE-LABlab(18.70, 31.88, 21.27)
CIE-LCHlch(18.70, 38.32, 33.71°)
OKLaboklab(31.14% 0.0917 0.0476)
OKLCHoklch(31.14% 0.103 27.4)
XYZxyz(4.5434, 2.6775, 0.7677)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1310 #10575A
analogous
#5A1032 #5A1310 #5A3810
triadic
#5A1310 #105A13 #13105A
tetradic
#5A1310 #325A10 #10575A #38105A
square
#5A1310 #325A10 #10575A #38105A
split-complementary
#5A1310 #105A38 #10325A
monochromatic
#1A0505 #260807 #5A1310 #8E1E19 #C22922

Accessibility & contrast

On white

13.68
#5A1310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1310
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1310#FFFFFF#000000##FFFFFF
##5A13101.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a1310;
/* rgb */ color: rgb(90, 19, 16);
/* oklch */ color: oklch(31.1% 0.103 27.4);
Tailwind
colors: {
  custom: {
    50: '#8f574e',
    500: '#5a1310',
    950: '#000000',
  },
}
SCSS
$custom: #5a1310;
$custom-light: #8f574e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1310",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 16
  },
  "hsl": {
    "h": 2.432,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31144,
    "c": 0.10333,
    "h": 27.4
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#5A1310
secondary
#338F93
accent
#E5ED3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5A1310

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

Preview Lab → · Contrast checker → · Palette generator →

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