#5A1512#5A1512

#5A1512 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.101 H 27.2°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#5A1512
RGBrgb(90, 21, 18)
HSLhsl(3, 67%, 21%)
HSVhsv(3, 80%, 35%)
CMYKcmyk(0%, 76.7%, 80%, 64.7%)
CIE-LABlab(19.03, 31.14, 20.49)
CIE-LCHlch(19.03, 37.27, 33.34°)
OKLaboklab(31.4% 0.0899 0.0461)
OKLCHoklch(31.4% 0.101 27.2)
XYZxyz(4.5943, 2.7544, 0.8619)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1512 #12575A
analogous
#5A1233 #5A1512 #5A3912
triadic
#5A1512 #125A15 #15125A
tetradic
#5A1512 #335A12 #12575A #39125A
square
#5A1512 #335A12 #12575A #39125A
split-complementary
#5A1512 #125A39 #12335A
monochromatic
#1A0605 #270908 #5A1512 #8D211C #C02D26

Accessibility & contrast

On white

13.54
#5A1512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1512
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1512#FFFFFF#000000##FFFFFF
##5A15121.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292511
Deuteranopia (green-blind)
#3A340F
Tritanopia (blue-blind)
#640015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1512;
/* rgb */ color: rgb(90, 21, 18);
/* oklch */ color: oklch(31.4% 0.101 27.2);
Tailwind
colors: {
  custom: {
    50: '#8f5850',
    500: '#5a1512',
    950: '#000000',
  },
}
SCSS
$custom: #5a1512;
$custom-light: #8f5850;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1512",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 18
  },
  "hsl": {
    "h": 2.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31398,
    "c": 0.101,
    "h": 27.2
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#5A1512
secondary
#358F93
accent
#E2EA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5A1512

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

Preview Lab → · Contrast checker → · Palette generator →

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