#54121F#54121F

#54121F is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.1% C 0.096 H 14.0°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#54121F
RGBrgb(84, 18, 31)
HSLhsl(348, 65%, 20%)
HSVhsv(348, 79%, 33%)
CMYKcmyk(0%, 78.6%, 63.1%, 67.1%)
CIE-LABlab(17.54, 31.08, 9.40)
CIE-LCHlch(17.54, 32.47, 16.83°)
OKLaboklab(30.13% 0.0935 0.0233)
OKLCHoklch(30.13% 0.096 14)
XYZxyz(4.1202, 2.4169, 1.5456)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54121F #125447
analogous
#541240 #54121F #542612
triadic
#54121F #1F5412 #121F54
tetradic
#54121F #405412 #125447 #261254
square
#54121F #405412 #125447 #261254
split-complementary
#54121F #125426 #124054
monochromatic
#190509 #22070C #54121F #861D32 #B92844

Accessibility & contrast

On white

14.16
#54121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#54121F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54121F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54121F#FFFFFF#000000##FFFFFF
##54121F1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#34301D
Tritanopia (blue-blind)
#5D0217
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54121f;
/* rgb */ color: rgb(84, 18, 31);
/* oklch */ color: oklch(30.1% 0.096 14.0);
Tailwind
colors: {
  custom: {
    50: '#89565a',
    500: '#54121f',
    950: '#000000',
  },
}
SCSS
$custom: #54121f;
$custom-light: #89565a;
$custom-dark: #000000;
JSON
{
  "hex": "#54121f",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 348.182,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.30131,
    "c": 0.09638,
    "h": 14
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#54121F
secondary
#358D7C
accent
#E8C740
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54121F

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

Preview Lab → · Contrast checker → · Palette generator →

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