#54131F#54131F

#54131F is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.2% C 0.095 H 14.5°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#54131F
RGBrgb(84, 19, 31)
HSLhsl(349, 63%, 20%)
HSVhsv(349, 77%, 33%)
CMYKcmyk(0%, 77.4%, 63.1%, 67.1%)
CIE-LABlab(17.69, 30.66, 9.61)
CIE-LCHlch(17.69, 32.13, 17.40°)
OKLaboklab(30.24% 0.0922 0.0238)
OKLCHoklch(30.24% 0.095 14.5)
XYZxyz(4.1368, 2.4501, 1.5511)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54131F #135448
analogous
#54133F #54131F #542713
triadic
#54131F #1F5413 #131F54
tetradic
#54131F #3F5413 #135448 #271354
square
#54131F #3F5413 #135448 #271354
split-complementary
#54131F #135427 #133F54
monochromatic
#190609 #22080D #54131F #861E31 #B82A44

Accessibility & contrast

On white

14.10
#54131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#54131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54131F
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54131F#FFFFFF#000000##FFFFFF
##54131F1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231F
Deuteranopia (green-blind)
#35301D
Tritanopia (blue-blind)
#5D0418
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54131f;
/* rgb */ color: rgb(84, 19, 31);
/* oklch */ color: oklch(30.2% 0.095 14.5);
Tailwind
colors: {
  custom: {
    50: '#89565a',
    500: '#54131f',
    950: '#000000',
  },
}
SCSS
$custom: #54131f;
$custom-light: #89565a;
$custom-dark: #000000;
JSON
{
  "hex": "#54131f",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 348.923,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30244,
    "c": 0.09519,
    "h": 14.5
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#54131F
secondary
#368C7D
accent
#E6C842
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54131F

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

Preview Lab → · Contrast checker → · Palette generator →

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