#5A261D#5A261D

#5A261D is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.0% C 0.079 H 31.5°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#5A261D
RGBrgb(90, 38, 29)
HSLhsl(9, 51%, 23%)
HSVhsv(9, 68%, 35%)
CMYKcmyk(0%, 57.8%, 67.8%, 64.7%)
CIE-LABlab(22.48, 23.13, 17.39)
CIE-LCHlch(22.48, 28.94, 36.93°)
OKLaboklab(34.05% 0.0673 0.0413)
OKLCHoklch(34.05% 0.079 31.5)
XYZxyz(5.1318, 3.6492, 1.5963)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A261D #1D515A
analogous
#5A1D32 #5A261D #5A441D
triadic
#5A261D #1D5A26 #261D5A
tetradic
#5A261D #325A1D #1D515A #441D5A
square
#5A261D #325A1D #1D515A #441D5A
split-complementary
#5A261D #1D5A44 #1D325A
monochromatic
#170A07 #2C120E #5A261D #883A2C #B74D3B

Accessibility & contrast

On white

12.14
#5A261D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5A261D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A261D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A261D#FFFFFF#000000##FFFFFF
##5A261D1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1C
Deuteranopia (green-blind)
#403A1C
Tritanopia (blue-blind)
#631C24
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5a261d;
/* rgb */ color: rgb(90, 38, 29);
/* oklch */ color: oklch(34.0% 0.079 31.5);
Tailwind
colors: {
  custom: {
    50: '#8d6259',
    500: '#5a261d',
    950: '#000000',
  },
}
SCSS
$custom: #5a261d;
$custom-light: #8d6259;
$custom-dark: #000000;
JSON
{
  "hex": "#5a261d",
  "rgb": {
    "r": 90,
    "g": 38,
    "b": 29
  },
  "hsl": {
    "h": 8.852,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34047,
    "c": 0.07892,
    "h": 31.5
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#5A261D
secondary
#44848F
accent
#C6DB4D
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5A261D

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

Preview Lab → · Contrast checker → · Palette generator →

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