#54221A#54221A

#54221A is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.3% C 0.077 H 30.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#54221A
RGBrgb(84, 34, 26)
HSLhsl(8, 53%, 22%)
HSVhsv(8, 69%, 33%)
CMYKcmyk(0%, 59.5%, 69%, 67.1%)
CIE-LABlab(20.46, 22.60, 16.64)
CIE-LCHlch(20.46, 28.06, 36.36°)
OKLaboklab(32.29% 0.0657 0.0394)
OKLCHoklch(32.29% 0.077 30.9)
XYZxyz(4.4150, 3.1040, 1.3437)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54221A #1A4C54
analogous
#541A2F #54221A #543F1A
triadic
#54221A #1A5422 #221A54
tetradic
#54221A #2F541A #1A4C54 #3F1A54
square
#54221A #2F541A #1A4C54 #3F1A54
split-complementary
#54221A #1A543F #1A2F54
monochromatic
#170907 #250F0C #54221A #833528 #B14837

Accessibility & contrast

On white

12.96
#54221A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#54221A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54221A
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54221A#FFFFFF#000000##FFFFFF
##54221A1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B19
Deuteranopia (green-blind)
#3B3519
Tritanopia (blue-blind)
#5C1920
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #54221a;
/* rgb */ color: rgb(84, 34, 26);
/* oklch */ color: oklch(32.3% 0.077 30.9);
Tailwind
colors: {
  custom: {
    50: '#885f56',
    500: '#54221a',
    950: '#000000',
  },
}
SCSS
$custom: #54221a;
$custom-light: #885f56;
$custom-dark: #000000;
JSON
{
  "hex": "#54221a",
  "rgb": {
    "r": 84,
    "g": 34,
    "b": 26
  },
  "hsl": {
    "h": 8.276,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32286,
    "c": 0.07663,
    "h": 30.9
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#54221A
secondary
#40808A
accent
#C8DC4C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #54221A

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

Preview Lab → · Contrast checker → · Palette generator →

#54221A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva