#541B18#541B18

#541B18 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.086 H 26.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#541B18
RGBrgb(84, 27, 24)
HSLhsl(3, 56%, 21%)
HSVhsv(3, 71%, 33%)
CMYKcmyk(0%, 67.9%, 71.4%, 67.1%)
CIE-LABlab(18.95, 26.31, 16.12)
CIE-LCHlch(18.95, 30.86, 31.50°)
OKLaboklab(31.14% 0.0769 0.038)
OKLCHoklch(31.14% 0.086 26.3)
XYZxyz(4.2134, 2.7352, 1.1701)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B18 #185154
analogous
#541833 #541B18 #543918
triadic
#541B18 #18541B #1B1854
tetradic
#541B18 #335418 #185154 #391854
square
#541B18 #335418 #185154 #391854
split-complementary
#541B18 #185439 #183354
monochromatic
#180807 #240C0A #541B18 #842A26 #B33A33

Accessibility & contrast

On white

13.57
#541B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#541B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B18
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B18#FFFFFF#000000##FFFFFF
##541B181.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2617
Deuteranopia (green-blind)
#383316
Tritanopia (blue-blind)
#5D0F1B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #541b18;
/* rgb */ color: rgb(84, 27, 24);
/* oklch */ color: oklch(31.1% 0.086 26.3);
Tailwind
colors: {
  custom: {
    50: '#895a54',
    500: '#541b18',
    950: '#000000',
  },
}
SCSS
$custom: #541b18;
$custom-light: #895a54;
$custom-dark: #000000;
JSON
{
  "hex": "#541b18",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 24
  },
  "hsl": {
    "h": 3,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31138,
    "c": 0.08576,
    "h": 26.3
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#541B18
secondary
#3D878B
accent
#D7DF49
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #541B18

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

Preview Lab → · Contrast checker → · Palette generator →

#541B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva