#541B17#541B17

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

Color values

HEX#541B17
RGBrgb(84, 27, 23)
HSLhsl(4, 57%, 21%)
HSVhsv(4, 73%, 33%)
CMYKcmyk(0%, 67.9%, 72.6%, 67.1%)
CIE-LABlab(18.93, 26.24, 16.78)
CIE-LCHlch(18.93, 31.15, 32.60°)
OKLaboklab(31.12% 0.0765 0.0393)
OKLCHoklch(31.12% 0.086 27.2)
XYZxyz(4.2032, 2.7311, 1.1163)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B17 #175054
analogous
#541731 #541B17 #543917
triadic
#541B17 #17541B #1B1754
tetradic
#541B17 #315417 #175054 #391754
square
#541B17 #315417 #175054 #391754
split-complementary
#541B17 #175439 #173154
monochromatic
#180807 #240C0A #541B17 #842A24 #B43A31

Accessibility & contrast

On white

13.58
#541B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541B17
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B17#FFFFFF#000000##FFFFFF
##541B171.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2616
Deuteranopia (green-blind)
#383315
Tritanopia (blue-blind)
#5D0E1A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #541b17;
/* rgb */ color: rgb(84, 27, 23);
/* oklch */ color: oklch(31.1% 0.086 27.2);
Tailwind
colors: {
  custom: {
    50: '#895a54',
    500: '#541b17',
    950: '#000000',
  },
}
SCSS
$custom: #541b17;
$custom-light: #895a54;
$custom-dark: #000000;
JSON
{
  "hex": "#541b17",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 23
  },
  "hsl": {
    "h": 3.934,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3112,
    "c": 0.08595,
    "h": 27.2
  },
  "luminance": 0.02731
}

Semantic roles & 50–950 ramp

primary
#541B17
secondary
#3C868B
accent
#D6E048
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #541B17

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

Preview Lab → · Contrast checker → · Palette generator →

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