#541218#541218

#541218 is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.096 H 20.4°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#541218
RGBrgb(84, 18, 24)
HSLhsl(355, 65%, 20%)
HSVhsv(355, 79%, 33%)
CMYKcmyk(0%, 78.6%, 71.4%, 67.1%)
CIE-LABlab(17.39, 30.56, 14.18)
CIE-LCHlch(17.39, 33.69, 24.89°)
OKLaboklab(29.97% 0.0904 0.0336)
OKLCHoklch(29.97% 0.096 20.4)
XYZxyz(4.0378, 2.3840, 1.1115)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541218 #12544E
analogous
#541239 #541218 #542D12
triadic
#541218 #185412 #121854
tetradic
#541218 #395412 #12544E #2D1254
square
#541218 #395412 #12544E #2D1254
split-complementary
#541218 #12542D #123954
monochromatic
#190507 #22070A #541218 #861D26 #B92835

Accessibility & contrast

On white

14.22
#541218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#541218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541218
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541218#FFFFFF#000000##FFFFFF
##5412181.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242218
Deuteranopia (green-blind)
#353016
Tritanopia (blue-blind)
#5D0015
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #541218;
/* rgb */ color: rgb(84, 18, 24);
/* oklch */ color: oklch(30.0% 0.096 20.4);
Tailwind
colors: {
  custom: {
    50: '#8a5654',
    500: '#541218',
    950: '#000000',
  },
}
SCSS
$custom: #541218;
$custom-light: #8a5654;
$custom-dark: #000000;
JSON
{
  "hex": "#541218",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 354.545,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.29967,
    "c": 0.0964,
    "h": 20.4
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#541218
secondary
#358D85
accent
#E8D840
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878

Preview Lab

Preview with #541218

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

Preview Lab → · Contrast checker → · Palette generator →

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