#54131E#54131E

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

Color values

HEX#54131E
RGBrgb(84, 19, 30)
HSLhsl(350, 63%, 20%)
HSVhsv(350, 77%, 33%)
CMYKcmyk(0%, 77.4%, 64.3%, 67.1%)
CIE-LABlab(17.67, 30.57, 10.29)
CIE-LCHlch(17.67, 32.26, 18.60°)
OKLaboklab(30.22% 0.0917 0.0253)
OKLCHoklch(30.22% 0.095 15.4)
XYZxyz(4.1238, 2.4449, 1.4828)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54131E #135449
analogous
#54133E #54131E #542813
triadic
#54131E #1E5413 #131E54
tetradic
#54131E #3E5413 #135449 #281354
square
#54131E #3E5413 #135449 #281354
split-complementary
#54131E #135428 #133E54
monochromatic
#190609 #22080C #54131E #861E30 #B82A42

Accessibility & contrast

On white

14.11
#54131E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54131E
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54131E#FFFFFF#000000##FFFFFF
##54131E1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231E
Deuteranopia (green-blind)
#35301C
Tritanopia (blue-blind)
#5D0318
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #54131e;
/* rgb */ color: rgb(84, 19, 30);
/* oklch */ color: oklch(30.2% 0.095 15.4);
Tailwind
colors: {
  custom: {
    50: '#895659',
    500: '#54131e',
    950: '#000000',
  },
}
SCSS
$custom: #54131e;
$custom-light: #895659;
$custom-dark: #000000;
JSON
{
  "hex": "#54131e",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 30
  },
  "hsl": {
    "h": 349.846,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30218,
    "c": 0.09515,
    "h": 15.4
  },
  "luminance": 0.02444
}

Semantic roles & 50–950 ramp

primary
#54131E
secondary
#368C7E
accent
#E6CA42
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #54131E

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

Preview Lab → · Contrast checker → · Palette generator →

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