#5A261B#5A261B

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

Color values

HEX#5A261B
RGBrgb(90, 38, 27)
HSLhsl(10, 54%, 23%)
HSVhsv(10, 70%, 35%)
CMYKcmyk(0%, 57.8%, 70%, 64.7%)
CIE-LABlab(22.44, 22.99, 18.65)
CIE-LCHlch(22.44, 29.60, 39.06°)
OKLaboklab(34.01% 0.0664 0.0438)
OKLCHoklch(34.01% 0.08 33.4)
XYZxyz(5.1079, 3.6396, 1.4702)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A261B #1B4F5A
analogous
#5A1B2F #5A261B #5A451B
triadic
#5A261B #1B5A26 #261B5A
tetradic
#5A261B #2F5A1B #1B4F5A #451B5A
square
#5A261B #2F5A1B #1B4F5A #451B5A
split-complementary
#5A261B #1B5A45 #1B2F5A
monochromatic
#180A07 #2B120D #5A261B #893A29 #B84E37

Accessibility & contrast

On white

12.15
#5A261B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A261B
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A261B#FFFFFF#000000##FFFFFF
##5A261B1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1A
Deuteranopia (green-blind)
#403A1A
Tritanopia (blue-blind)
#631C23
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5a261b;
/* rgb */ color: rgb(90, 38, 27);
/* oklch */ color: oklch(34.0% 0.080 33.4);
Tailwind
colors: {
  custom: {
    50: '#8d6257',
    500: '#5a261b',
    950: '#000000',
  },
}
SCSS
$custom: #5a261b;
$custom-light: #8d6257;
$custom-dark: #000000;
JSON
{
  "hex": "#5a261b",
  "rgb": {
    "r": 90,
    "g": 38,
    "b": 27
  },
  "hsl": {
    "h": 10.476,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34011,
    "c": 0.07954,
    "h": 33.4
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

primary
#5A261B
secondary
#418290
accent
#C4DD4B
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5A261B

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

Preview Lab → · Contrast checker → · Palette generator →

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