#541222#541222

#541222 is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.2% C 0.097 H 11.1°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#541222
RGBrgb(84, 18, 34)
HSLhsl(345, 65%, 20%)
HSVhsv(345, 79%, 33%)
CMYKcmyk(0%, 78.6%, 59.5%, 67.1%)
CIE-LABlab(17.62, 31.34, 7.35)
CIE-LCHlch(17.62, 32.19, 13.21°)
OKLaboklab(30.21% 0.0949 0.0186)
OKLCHoklch(30.21% 0.097 11.1)
XYZxyz(4.1616, 2.4335, 1.7636)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541222 #125444
analogous
#541243 #541222 #542312
triadic
#541222 #225412 #122254
tetradic
#541222 #435412 #125444 #231254
square
#541222 #435412 #125444 #231254
split-complementary
#541222 #125423 #124354
monochromatic
#19050A #22070E #541222 #861D36 #B9284B

Accessibility & contrast

On white

14.13
#541222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#541222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541222
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541222#FFFFFF#000000##FFFFFF
##5412221.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232322
Deuteranopia (green-blind)
#343020
Tritanopia (blue-blind)
#5C0319
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #541222;
/* rgb */ color: rgb(84, 18, 34);
/* oklch */ color: oklch(30.2% 0.097 11.1);
Tailwind
colors: {
  custom: {
    50: '#89565c',
    500: '#541222',
    950: '#000000',
  },
}
SCSS
$custom: #541222;
$custom-light: #89565c;
$custom-dark: #000000;
JSON
{
  "hex": "#541222",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 345.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30212,
    "c": 0.09669,
    "h": 11.1
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#541222
secondary
#358D78
accent
#E8BF40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #541222

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

Preview Lab → · Contrast checker → · Palette generator →

#541222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva