#54221C#54221C

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

Color values

HEX#54221C
RGBrgb(84, 34, 28)
HSLhsl(6, 50%, 22%)
HSVhsv(6, 67%, 33%)
CMYKcmyk(0%, 59.5%, 66.7%, 67.1%)
CIE-LABlab(20.49, 22.76, 15.34)
CIE-LCHlch(20.49, 27.45, 33.99°)
OKLaboklab(32.32% 0.0666 0.0367)
OKLCHoklch(32.32% 0.076 28.9)
XYZxyz(4.4382, 3.1133, 1.4656)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54221C #1C4E54
analogous
#541C32 #54221C #543E1C
triadic
#54221C #1C5422 #221C54
tetradic
#54221C #32541C #1C4E54 #3E1C54
square
#54221C #32541C #1C4E54 #3E1C54
split-complementary
#54221C #1C543E #1C3254
monochromatic
#170908 #260F0D #54221C #82352B #B0473B

Accessibility & contrast

On white

12.94
#54221C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54221C
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54221C#FFFFFF#000000##FFFFFF
##54221C1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54221c;
/* rgb */ color: rgb(84, 34, 28);
/* oklch */ color: oklch(32.3% 0.076 28.9);
Tailwind
colors: {
  custom: {
    50: '#885f58',
    500: '#54221c',
    950: '#000000',
  },
}
SCSS
$custom: #54221c;
$custom-light: #885f58;
$custom-dark: #000000;
JSON
{
  "hex": "#54221c",
  "rgb": {
    "r": 84,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 6.429,
    "s": 50,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32325,
    "c": 0.07607,
    "h": 28.9
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#54221C
secondary
#42828A
accent
#CBDA4E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #54221C

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

Preview Lab → · Contrast checker → · Palette generator →

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