#541012#541012

#541012 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.099 H 24.3°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#541012
RGBrgb(84, 16, 18)
HSLhsl(358, 68%, 20%)
HSVhsv(358, 81%, 33%)
CMYKcmyk(0%, 81%, 78.6%, 67.1%)
CIE-LABlab(16.99, 31.02, 17.73)
CIE-LCHlch(16.99, 35.73, 29.75°)
OKLaboklab(29.64% 0.0903 0.0407)
OKLCHoklch(29.64% 0.099 24.3)
XYZxyz(3.9511, 2.2997, 0.8080)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541012 #105452
analogous
#541034 #541012 #543010
triadic
#541012 #125410 #101254
tetradic
#541012 #345410 #105452 #301054
square
#541012 #345410 #105452 #301054
split-complementary
#541012 #105430 #103454
monochromatic
#1A0506 #210607 #541012 #871A1D #BB2428

Accessibility & contrast

On white

14.39
#541012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#541012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541012
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541012#FFFFFF#000000##FFFFFF
##5410121.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242111
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #541012;
/* rgb */ color: rgb(84, 16, 18);
/* oklch */ color: oklch(29.6% 0.099 24.3);
Tailwind
colors: {
  custom: {
    50: '#8a554f',
    500: '#541012',
    950: '#000000',
  },
}
SCSS
$custom: #541012;
$custom-light: #8a554f;
$custom-dark: #000000;
JSON
{
  "hex": "#541012",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 18
  },
  "hsl": {
    "h": 358.235,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29637,
    "c": 0.09908,
    "h": 24.3
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#541012
secondary
#328E8B
accent
#EBE63D
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #541012

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

Preview Lab → · Contrast checker → · Palette generator →

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