#541F12#541F12

#541F12 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.7% C 0.083 H 35.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#541F12
RGBrgb(84, 31, 18)
HSLhsl(12, 65%, 20%)
HSVhsv(12, 79%, 33%)
CMYKcmyk(0%, 63.1%, 78.6%, 67.1%)
CIE-LABlab(19.68, 23.77, 20.91)
CIE-LCHlch(19.68, 31.66, 41.34°)
OKLaboklab(31.66% 0.0676 0.0474)
OKLCHoklch(31.66% 0.083 35)
XYZxyz(4.2558, 2.9090, 0.9095)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541F12 #124754
analogous
#541226 #541F12 #544012
triadic
#541F12 #12541F #1F1254
tetradic
#541F12 #265412 #124754 #401254
square
#541F12 #265412 #124754 #401254
split-complementary
#541F12 #125440 #122654
monochromatic
#190905 #220C07 #541F12 #86321D #B94428

Accessibility & contrast

On white

13.28
#541F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#541F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541F12
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541F12#FFFFFF#000000##FFFFFF
##541F121.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2810
Deuteranopia (green-blind)
#3A3411
Tritanopia (blue-blind)
#5D131C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #541f12;
/* rgb */ color: rgb(84, 31, 18);
/* oklch */ color: oklch(31.7% 0.083 35.0);
Tailwind
colors: {
  custom: {
    50: '#895d50',
    500: '#541f12',
    950: '#000000',
  },
}
SCSS
$custom: #541f12;
$custom-light: #895d50;
$custom-dark: #000000;
JSON
{
  "hex": "#541f12",
  "rgb": {
    "r": 84,
    "g": 31,
    "b": 18
  },
  "hsl": {
    "h": 11.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31656,
    "c": 0.08257,
    "h": 35
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#541F12
secondary
#357C8D
accent
#C7E840
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #541F12

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

Preview Lab → · Contrast checker → · Palette generator →

#541F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva