#541827#541827

#541827 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.090 H 8.9°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#541827
RGBrgb(84, 24, 39)
HSLhsl(345, 56%, 21%)
HSVhsv(345, 71%, 33%)
CMYKcmyk(0%, 71.4%, 53.6%, 67.1%)
CIE-LABlab(18.74, 29.12, 5.35)
CIE-LCHlch(18.74, 29.60, 10.41°)
OKLaboklab(31.09% 0.0885 0.0138)
OKLCHoklch(31.09% 0.09 8.9)
XYZxyz(4.3494, 2.6851, 2.2083)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541827 #185445
analogous
#541845 #541827 #542718
triadic
#541827 #275418 #182754
tetradic
#541827 #455418 #185445 #271854
square
#541827 #455418 #185445 #271854
split-complementary
#541827 #185427 #184554
monochromatic
#18070B #240A11 #541827 #84263D #B33353

Accessibility & contrast

On white

13.66
#541827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#541827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541827
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541827#FFFFFF#000000##FFFFFF
##5418271.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262627
Deuteranopia (green-blind)
#353226
Tritanopia (blue-blind)
#5C0E1E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #541827;
/* rgb */ color: rgb(84, 24, 39);
/* oklch */ color: oklch(31.1% 0.090 8.9);
Tailwind
colors: {
  custom: {
    50: '#885960',
    500: '#541827',
    950: '#000000',
  },
}
SCSS
$custom: #541827;
$custom-light: #885960;
$custom-dark: #000000;
JSON
{
  "hex": "#541827",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 345,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3109,
    "c": 0.08955,
    "h": 8.9
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#541827
secondary
#3D8B77
accent
#DFB949
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #541827

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

Preview Lab → · Contrast checker → · Palette generator →

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