#541020#541020

#541020 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.099 H 12.1°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#541020
RGBrgb(84, 16, 32)
HSLhsl(346, 68%, 20%)
HSVhsv(346, 81%, 33%)
CMYKcmyk(0%, 81%, 61.9%, 67.1%)
CIE-LABlab(17.27, 31.97, 8.32)
CIE-LCHlch(17.27, 33.03, 14.59°)
OKLaboklab(29.94% 0.0966 0.0208)
OKLCHoklch(29.94% 0.099 12.1)
XYZxyz(4.1026, 2.3603, 1.6058)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541020 #105444
analogous
#541042 #541020 #542210
triadic
#541020 #205410 #102054
tetradic
#541020 #425410 #105444 #221054
square
#541020 #425410 #105444 #221054
split-complementary
#541020 #105422 #104254
monochromatic
#1A050A #21060C #541020 #871A34 #BB2447

Accessibility & contrast

On white

14.27
#541020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#541020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541020
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541020#FFFFFF#000000##FFFFFF
##5410201.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222220
Deuteranopia (green-blind)
#34301E
Tritanopia (blue-blind)
#5D0017
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #541020;
/* rgb */ color: rgb(84, 16, 32);
/* oklch */ color: oklch(29.9% 0.099 12.1);
Tailwind
colors: {
  custom: {
    50: '#89555b',
    500: '#541020',
    950: '#000000',
  },
}
SCSS
$custom: #541020;
$custom-light: #89555b;
$custom-dark: #000000;
JSON
{
  "hex": "#541020",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 32
  },
  "hsl": {
    "h": 345.882,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29943,
    "c": 0.09878,
    "h": 12.1
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#541020
secondary
#328E78
accent
#EBC23D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #541020

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

Preview Lab → · Contrast checker → · Palette generator →

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