#54221B#54221B

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

Color values

HEX#54221B
RGBrgb(84, 34, 27)
HSLhsl(7, 51%, 22%)
HSVhsv(7, 68%, 33%)
CMYKcmyk(0%, 59.5%, 67.9%, 67.1%)
CIE-LABlab(20.47, 22.68, 15.99)
CIE-LCHlch(20.47, 27.75, 35.19°)
OKLaboklab(32.31% 0.0662 0.0381)
OKLCHoklch(32.31% 0.076 29.9)
XYZxyz(4.4264, 3.1085, 1.4036)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54221B #1B4D54
analogous
#541B31 #54221B #543F1B
triadic
#54221B #1B5422 #221B54
tetradic
#54221B #31541B #1B4D54 #3F1B54
square
#54221B #31541B #1B4D54 #3F1B54
split-complementary
#54221B #1B543F #1B3154
monochromatic
#170907 #260F0C #54221B #82352A #B14739

Accessibility & contrast

On white

12.95
#54221B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54221B
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54221B#FFFFFF#000000##FFFFFF
##54221B1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54221b;
/* rgb */ color: rgb(84, 34, 27);
/* oklch */ color: oklch(32.3% 0.076 29.9);
Tailwind
colors: {
  custom: {
    50: '#885f57',
    500: '#54221b',
    950: '#000000',
  },
}
SCSS
$custom: #54221b;
$custom-light: #885f57;
$custom-dark: #000000;
JSON
{
  "hex": "#54221b",
  "rgb": {
    "r": 84,
    "g": 34,
    "b": 27
  },
  "hsl": {
    "h": 7.368,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32305,
    "c": 0.07634,
    "h": 29.9
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#54221B
secondary
#41818A
accent
#C9DB4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #54221B

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

Preview Lab → · Contrast checker → · Palette generator →

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