#54120E#54120E

#54120E is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.8% C 0.098 H 28.1°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#54120E
RGBrgb(84, 18, 14)
HSLhsl(3, 71%, 19%)
HSVhsv(3, 83%, 33%)
CMYKcmyk(0%, 78.6%, 83.3%, 67.1%)
CIE-LABlab(17.22, 30.01, 20.25)
CIE-LCHlch(17.22, 36.20, 34.00°)
OKLaboklab(29.8% 0.0862 0.046)
OKLCHoklch(29.8% 0.098 28.1)
XYZxyz(3.9522, 2.3497, 0.6608)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54120E #0E5054
analogous
#540E2D #54120E #54350E
triadic
#54120E #0E5412 #120E54
tetradic
#54120E #2D540E #0E5054 #350E54
square
#54120E #2D540E #0E5054 #350E54
split-complementary
#54120E #0E5435 #0E2D54
monochromatic
#1A0604 #200705 #54120E #881D17 #BD281F

Accessibility & contrast

On white

14.29
#54120E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#54120E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54120E
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54120E#FFFFFF#000000##FFFFFF
##54120E1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26210D
Deuteranopia (green-blind)
#36300B
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #54120e;
/* rgb */ color: rgb(84, 18, 14);
/* oklch */ color: oklch(29.8% 0.098 28.1);
Tailwind
colors: {
  custom: {
    50: '#8a554d',
    500: '#54120e',
    950: '#000000',
  },
}
SCSS
$custom: #54120e;
$custom-light: #8a554d;
$custom-dark: #000000;
JSON
{
  "hex": "#54120e",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 14
  },
  "hsl": {
    "h": 3.429,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29796,
    "c": 0.09768,
    "h": 28.1
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#54120E
secondary
#2F898E
accent
#E4EE3A
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #54120E

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

Preview Lab → · Contrast checker → · Palette generator →

#54120E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva