#541312#541312

#541312 is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.096 H 25.8°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#541312
RGBrgb(84, 19, 18)
HSLhsl(1, 65%, 20%)
HSVhsv(1, 79%, 33%)
CMYKcmyk(0%, 77.4%, 78.6%, 67.1%)
CIE-LABlab(17.44, 29.78, 18.28)
CIE-LCHlch(17.44, 34.94, 31.54°)
OKLaboklab(29.97% 0.0864 0.0418)
OKLCHoklch(29.97% 0.096 25.8)
XYZxyz(3.9987, 2.3948, 0.8238)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541312 #125354
analogous
#541232 #541312 #543412
triadic
#541312 #125413 #131254
tetradic
#541312 #325412 #125354 #341254
square
#541312 #325412 #125354 #341254
split-complementary
#541312 #125434 #123254
monochromatic
#190605 #220807 #541312 #861E1D #B92A28

Accessibility & contrast

On white

14.20
#541312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#541312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541312
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541312#FFFFFF#000000##FFFFFF
##5413121.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262211
Deuteranopia (green-blind)
#363010
Tritanopia (blue-blind)
#5D0014
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #541312;
/* rgb */ color: rgb(84, 19, 18);
/* oklch */ color: oklch(30.0% 0.096 25.8);
Tailwind
colors: {
  custom: {
    50: '#8a5650',
    500: '#541312',
    950: '#000000',
  },
}
SCSS
$custom: #541312;
$custom-light: #8a5650;
$custom-dark: #000000;
JSON
{
  "hex": "#541312",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 18
  },
  "hsl": {
    "h": 0.909,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.29972,
    "c": 0.09599,
    "h": 25.8
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#541312
secondary
#358B8D
accent
#E5E840
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0302
muted
#7E7878

Preview Lab

Preview with #541312

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

Preview Lab → · Contrast checker → · Palette generator →

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