#5A1712#5A1712

#5A1712 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.099 H 28.3°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#5A1712
RGBrgb(90, 23, 18)
HSLhsl(4, 67%, 21%)
HSVhsv(4, 80%, 35%)
CMYKcmyk(0%, 74.4%, 80%, 64.7%)
CIE-LABlab(19.35, 30.26, 20.86)
CIE-LCHlch(19.35, 36.75, 34.58°)
OKLaboklab(31.64% 0.0871 0.0469)
OKLCHoklch(31.64% 0.099 28.3)
XYZxyz(4.6325, 2.8308, 0.8746)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1712 #12555A
analogous
#5A1231 #5A1712 #5A3B12
triadic
#5A1712 #125A17 #17125A
tetradic
#5A1712 #315A12 #12555A #3B125A
square
#5A1712 #315A12 #12555A #3B125A
split-complementary
#5A1712 #125A3B #12315A
monochromatic
#1A0705 #270A08 #5A1712 #8D241C #C03126

Accessibility & contrast

On white

13.41
#5A1712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5A1712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1712
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1712#FFFFFF#000000##FFFFFF
##5A17121.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2611
Deuteranopia (green-blind)
#3B3410
Tritanopia (blue-blind)
#640316
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1712;
/* rgb */ color: rgb(90, 23, 18);
/* oklch */ color: oklch(31.6% 0.099 28.3);
Tailwind
colors: {
  custom: {
    50: '#8f5950',
    500: '#5a1712',
    950: '#000000',
  },
}
SCSS
$custom: #5a1712;
$custom-light: #8f5950;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1712",
  "rgb": {
    "r": 90,
    "g": 23,
    "b": 18
  },
  "hsl": {
    "h": 4.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31638,
    "c": 0.09891,
    "h": 28.3
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#5A1712
secondary
#358C93
accent
#DEEA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5A1712

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

Preview Lab → · Contrast checker → · Palette generator →

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