#5A281E#5A281E

#5A281E is a dark, moderate red. Relative luminance 0.038; OKLCH L 34.4% C 0.076 H 32.7°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#5A281E
RGBrgb(90, 40, 30)
HSLhsl(10, 50%, 24%)
HSVhsv(10, 67%, 35%)
CMYKcmyk(0%, 55.6%, 66.7%, 64.7%)
CIE-LABlab(22.95, 22.05, 17.32)
CIE-LCHlch(22.95, 28.04, 38.15°)
OKLaboklab(34.41% 0.0641 0.0412)
OKLCHoklch(34.41% 0.076 32.7)
XYZxyz(5.2100, 3.7856, 1.6844)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A281E #1E505A
analogous
#5A1E32 #5A281E #5A461E
triadic
#5A281E #1E5A28 #281E5A
tetradic
#5A281E #325A1E #1E505A #461E5A
square
#5A281E #325A1E #1E505A #461E5A
split-complementary
#5A281E #1E5A46 #1E325A
monochromatic
#170A08 #2C140F #5A281E #883C2D #B6513D

Accessibility & contrast

On white

11.95
#5A281E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5A281E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A281E
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A281E#FFFFFF#000000##FFFFFF
##5A281E1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301D
Deuteranopia (green-blind)
#413B1D
Tritanopia (blue-blind)
#631F26
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5a281e;
/* rgb */ color: rgb(90, 40, 30);
/* oklch */ color: oklch(34.4% 0.076 32.7);
Tailwind
colors: {
  custom: {
    50: '#8d635a',
    500: '#5a281e',
    950: '#000000',
  },
}
SCSS
$custom: #5a281e;
$custom-light: #8d635a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a281e",
  "rgb": {
    "r": 90,
    "g": 40,
    "b": 30
  },
  "hsl": {
    "h": 10,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34413,
    "c": 0.07621,
    "h": 32.7
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#5A281E
secondary
#45838F
accent
#C2DA4E
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5A281E

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

Preview Lab → · Contrast checker → · Palette generator →

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