#54221F#54221F

#54221F is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.4% C 0.075 H 25.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#54221F
RGBrgb(84, 34, 31)
HSLhsl(3, 46%, 23%)
HSVhsv(3, 63%, 33%)
CMYKcmyk(0%, 59.5%, 63.1%, 67.1%)
CIE-LABlab(20.55, 23.01, 13.38)
CIE-LCHlch(20.55, 26.62, 30.18°)
OKLaboklab(32.39% 0.068 0.0326)
OKLCHoklch(32.39% 0.075 25.6)
XYZxyz(4.4759, 3.1283, 1.6642)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54221F #1F5154
analogous
#541F37 #54221F #543C1F
triadic
#54221F #1F5422 #221F54
tetradic
#54221F #37541F #1F5154 #3C1F54
square
#54221F #37541F #1F5154 #3C1F54
split-complementary
#54221F #1F543C #1F3754
monochromatic
#160908 #27100F #54221F #81342F #AD4640

Accessibility & contrast

On white

12.92
#54221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#54221F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54221F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54221F#FFFFFF#000000##FFFFFF
##54221F1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B1E
Deuteranopia (green-blind)
#3B351E
Tritanopia (blue-blind)
#5C1922
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #54221f;
/* rgb */ color: rgb(84, 34, 31);
/* oklch */ color: oklch(32.4% 0.075 25.6);
Tailwind
colors: {
  custom: {
    50: '#885f5a',
    500: '#54221f',
    950: '#000000',
  },
}
SCSS
$custom: #54221f;
$custom-light: #885f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#54221f",
  "rgb": {
    "r": 84,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 3.396,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32389,
    "c": 0.07539,
    "h": 25.6
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#54221F
secondary
#468589
accent
#CED652
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #54221F

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

Preview Lab → · Contrast checker → · Palette generator →

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