#541812#541812

#541812 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.6% C 0.091 H 29.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#541812
RGBrgb(84, 24, 18)
HSLhsl(5, 65%, 20%)
HSVhsv(5, 79%, 33%)
CMYKcmyk(0%, 71.4%, 78.6%, 67.1%)
CIE-LABlab(18.29, 27.46, 19.30)
CIE-LCHlch(18.29, 33.56, 35.10°)
OKLaboklab(30.61% 0.0791 0.044)
OKLCHoklch(30.61% 0.091 29.1)
XYZxyz(4.0924, 2.5823, 0.8551)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541812 #124E54
analogous
#54122D #541812 #543912
triadic
#541812 #125418 #181254
tetradic
#541812 #2D5412 #124E54 #391254
square
#541812 #2D5412 #124E54 #391254
split-complementary
#541812 #125439 #122D54
monochromatic
#190705 #220A07 #541812 #86261D #B93528

Accessibility & contrast

On white

13.85
#541812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541812
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541812#FFFFFF#000000##FFFFFF
##5418121.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292411
Deuteranopia (green-blind)
#383110
Tritanopia (blue-blind)
#5D0817
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #541812;
/* rgb */ color: rgb(84, 24, 18);
/* oklch */ color: oklch(30.6% 0.091 29.1);
Tailwind
colors: {
  custom: {
    50: '#8a5950',
    500: '#541812',
    950: '#000000',
  },
}
SCSS
$custom: #541812;
$custom-light: #8a5950;
$custom-dark: #000000;
JSON
{
  "hex": "#541812",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 5.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30609,
    "c": 0.09051,
    "h": 29.1
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#541812
secondary
#35858D
accent
#D8E840
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878

Preview Lab

Preview with #541812

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

Preview Lab → · Contrast checker → · Palette generator →

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