#54221E#54221E

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

Color values

HEX#54221E
RGBrgb(84, 34, 30)
HSLhsl(4, 47%, 22%)
HSVhsv(4, 64%, 33%)
CMYKcmyk(0%, 59.5%, 64.3%, 67.1%)
CIE-LABlab(20.53, 22.93, 14.04)
CIE-LCHlch(20.53, 26.88, 31.48°)
OKLaboklab(32.37% 0.0675 0.034)
OKLCHoklch(32.37% 0.076 26.7)
XYZxyz(4.4629, 3.1231, 1.5959)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54221E #1E5054
analogous
#541E35 #54221E #543D1E
triadic
#54221E #1E5422 #221E54
tetradic
#54221E #35541E #1E5054 #3D1E54
square
#54221E #35541E #1E5054 #3D1E54
split-complementary
#54221E #1E543D #1E3554
monochromatic
#170908 #27100E #54221E #81342E #AE473E

Accessibility & contrast

On white

12.93
#54221E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54221E
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54221E#FFFFFF#000000##FFFFFF
##54221E1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B1D
Deuteranopia (green-blind)
#3B351D
Tritanopia (blue-blind)
#5C1921
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #54221e;
/* rgb */ color: rgb(84, 34, 30);
/* oklch */ color: oklch(32.4% 0.076 26.7);
Tailwind
colors: {
  custom: {
    50: '#885f59',
    500: '#54221e',
    950: '#000000',
  },
}
SCSS
$custom: #54221e;
$custom-light: #885f59;
$custom-dark: #000000;
JSON
{
  "hex": "#54221e",
  "rgb": {
    "r": 84,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 4.444,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32367,
    "c": 0.0756,
    "h": 26.7
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#54221E
secondary
#458489
accent
#CDD751
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #54221E

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

Preview Lab → · Contrast checker → · Palette generator →

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