#54120F#54120F

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

Color values

HEX#54120F
RGBrgb(84, 18, 15)
HSLhsl(3, 70%, 19%)
HSVhsv(3, 82%, 33%)
CMYKcmyk(0%, 78.6%, 82.1%, 67.1%)
CIE-LABlab(17.24, 30.06, 19.74)
CIE-LCHlch(17.24, 35.96, 33.30°)
OKLaboklab(29.81% 0.0866 0.0449)
OKLCHoklch(29.81% 0.098 27.4)
XYZxyz(3.9591, 2.3525, 0.6975)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54120F #0F5154
analogous
#540F2F #54120F #54350F
triadic
#54120F #0F5412 #120F54
tetradic
#54120F #2F540F #0F5154 #350F54
square
#54120F #2F540F #0F5154 #350F54
split-complementary
#54120F #0F5435 #0F2F54
monochromatic
#1A0605 #200706 #54120F #881D18 #BC2822

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54120F#FFFFFF#000000##FFFFFF
##54120F1.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)
#25210E
Deuteranopia (green-blind)
#36300C
Tritanopia (blue-blind)
#5D0012
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #54120f;
/* rgb */ color: rgb(84, 18, 15);
/* oklch */ color: oklch(29.8% 0.098 27.4);
Tailwind
colors: {
  custom: {
    50: '#8a554e',
    500: '#54120f',
    950: '#000000',
  },
}
SCSS
$custom: #54120f;
$custom-light: #8a554e;
$custom-dark: #000000;
JSON
{
  "hex": "#54120f",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 15
  },
  "hsl": {
    "h": 2.609,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2981,
    "c": 0.09751,
    "h": 27.4
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#54120F
secondary
#318A8E
accent
#E5ED3B
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #54120F

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

Preview Lab → · Contrast checker → · Palette generator →

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