#54261F#54261F

#54261F is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.1% C 0.070 H 30.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#54261F
RGBrgb(84, 38, 31)
HSLhsl(8, 46%, 23%)
HSVhsv(8, 63%, 33%)
CMYKcmyk(0%, 54.8%, 63.1%, 67.1%)
CIE-LABlab(21.47, 20.66, 14.57)
CIE-LCHlch(21.47, 25.28, 35.20°)
OKLaboklab(33.09% 0.0607 0.0353)
OKLCHoklch(33.09% 0.07 30.2)
XYZxyz(4.5970, 3.3705, 1.7045)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54261F #1F4D54
analogous
#541F32 #54261F #54411F
triadic
#54261F #1F5426 #261F54
tetradic
#54261F #32541F #1F4D54 #411F54
square
#54261F #32541F #1F4D54 #411F54
split-complementary
#54261F #1F5441 #1F3254
monochromatic
#160A08 #27120F #54261F #813A2F #AD4E40

Accessibility & contrast

On white

12.54
#54261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#54261F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54261F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54261F#FFFFFF#000000##FFFFFF
##54261F1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1E
Deuteranopia (green-blind)
#3D371E
Tritanopia (blue-blind)
#5C1E24
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #54261f;
/* rgb */ color: rgb(84, 38, 31);
/* oklch */ color: oklch(33.1% 0.070 30.2);
Tailwind
colors: {
  custom: {
    50: '#88615a',
    500: '#54261f',
    950: '#000000',
  },
}
SCSS
$custom: #54261f;
$custom-light: #88615a;
$custom-dark: #000000;
JSON
{
  "hex": "#54261f",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 7.925,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33087,
    "c": 0.07019,
    "h": 30.2
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#54261F
secondary
#468089
accent
#C4D652
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #54261F

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

Preview Lab → · Contrast checker → · Palette generator →

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