#541217#541217

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

Color values

HEX#541217
RGBrgb(84, 18, 23)
HSLhsl(355, 65%, 20%)
HSVhsv(355, 79%, 33%)
CMYKcmyk(0%, 78.6%, 72.6%, 67.1%)
CIE-LABlab(17.37, 30.49, 14.85)
CIE-LCHlch(17.37, 33.92, 25.97°)
OKLaboklab(29.95% 0.0899 0.035)
OKLCHoklch(29.95% 0.096 21.3)
XYZxyz(4.0275, 2.3799, 1.0577)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541217 #12544F
analogous
#541238 #541217 #542E12
triadic
#541217 #175412 #121754
tetradic
#541217 #385412 #12544F #2E1254
square
#541217 #385412 #12544F #2E1254
split-complementary
#541217 #12542E #123854
monochromatic
#190507 #220709 #541217 #861D25 #B92833

Accessibility & contrast

On white

14.23
#541217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541217
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541217#FFFFFF#000000##FFFFFF
##5412171.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541217;
/* rgb */ color: rgb(84, 18, 23);
/* oklch */ color: oklch(29.9% 0.096 21.3);
Tailwind
colors: {
  custom: {
    50: '#8a5653',
    500: '#541217',
    950: '#000000',
  },
}
SCSS
$custom: #541217;
$custom-light: #8a5653;
$custom-dark: #000000;
JSON
{
  "hex": "#541217",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 23
  },
  "hsl": {
    "h": 355.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.29947,
    "c": 0.09648,
    "h": 21.3
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#541217
secondary
#358D86
accent
#E8DB40
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878

Preview Lab

Preview with #541217

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

Preview Lab → · Contrast checker → · Palette generator →

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