#54101F#54101F

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

Color values

HEX#54101F
RGBrgb(84, 16, 31)
HSLhsl(347, 68%, 20%)
HSVhsv(347, 81%, 33%)
CMYKcmyk(0%, 81%, 63.1%, 67.1%)
CIE-LABlab(17.25, 31.89, 9.01)
CIE-LCHlch(17.25, 33.13, 15.78°)
OKLaboklab(29.92% 0.0961 0.0224)
OKLCHoklch(29.92% 0.099 13.1)
XYZxyz(4.0892, 2.3549, 1.5353)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54101F #105445
analogous
#541041 #54101F #542310
triadic
#54101F #1F5410 #101F54
tetradic
#54101F #415410 #105445 #231054
square
#54101F #415410 #105445 #231054
split-complementary
#54101F #105423 #104154
monochromatic
#1A0509 #21060C #54101F #871A32 #BB2445

Accessibility & contrast

On white

14.28
#54101F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#54101F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54101F
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54101F#FFFFFF#000000##FFFFFF
##54101F1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211F
Deuteranopia (green-blind)
#342F1D
Tritanopia (blue-blind)
#5D0016
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #54101f;
/* rgb */ color: rgb(84, 16, 31);
/* oklch */ color: oklch(29.9% 0.099 13.1);
Tailwind
colors: {
  custom: {
    50: '#89555a',
    500: '#54101f',
    950: '#000000',
  },
}
SCSS
$custom: #54101f;
$custom-light: #89555a;
$custom-dark: #000000;
JSON
{
  "hex": "#54101f",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 31
  },
  "hsl": {
    "h": 346.765,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29916,
    "c": 0.09869,
    "h": 13.1
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#54101F
secondary
#328E79
accent
#EBC43D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54101F

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

Preview Lab → · Contrast checker → · Palette generator →

#54101F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva