#541817#541817

#541817 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.7% C 0.090 H 24.9°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#541817
RGBrgb(84, 24, 23)
HSLhsl(1, 57%, 21%)
HSVhsv(1, 73%, 33%)
CMYKcmyk(0%, 71.4%, 72.6%, 67.1%)
CIE-LABlab(18.37, 27.76, 16.09)
CIE-LCHlch(18.37, 32.09, 30.10°)
OKLaboklab(30.7% 0.0812 0.0378)
OKLCHoklch(30.7% 0.09 24.9)
XYZxyz(4.1379, 2.6005, 1.0945)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541817 #175354
analogous
#541734 #541817 #543617
triadic
#541817 #175418 #181754
tetradic
#541817 #345417 #175354 #361754
square
#541817 #345417 #175354 #361754
split-complementary
#541817 #175436 #173454
monochromatic
#180707 #240A0A #541817 #842624 #B43331

Accessibility & contrast

On white

13.82
#541817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#541817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541817
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541817#FFFFFF#000000##FFFFFF
##5418171.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282516
Deuteranopia (green-blind)
#373215
Tritanopia (blue-blind)
#5D0918
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #541817;
/* rgb */ color: rgb(84, 24, 23);
/* oklch */ color: oklch(30.7% 0.090 24.9);
Tailwind
colors: {
  custom: {
    50: '#895954',
    500: '#541817',
    950: '#000000',
  },
}
SCSS
$custom: #541817;
$custom-light: #895954;
$custom-dark: #000000;
JSON
{
  "hex": "#541817",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.984,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30695,
    "c": 0.08957,
    "h": 24.9
  },
  "luminance": 0.026
}

Semantic roles & 50–950 ramp

primary
#541817
secondary
#3C8A8B
accent
#DEE048
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #541817

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

Preview Lab → · Contrast checker → · Palette generator →

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