#54201F#54201F

#54201F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.1% C 0.078 H 23.6°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#54201F
RGBrgb(84, 32, 31)
HSLhsl(1, 46%, 23%)
HSVhsv(1, 63%, 33%)
CMYKcmyk(0%, 61.9%, 63.1%, 67.1%)
CIE-LABlab(20.11, 24.15, 12.81)
CIE-LCHlch(20.11, 27.34, 27.95°)
OKLaboklab(32.06% 0.0716 0.0313)
OKLCHoklch(32.06% 0.078 23.6)
XYZxyz(4.4204, 3.0173, 1.6457)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54201F #1F5354
analogous
#541F39 #54201F #543A1F
triadic
#54201F #1F5420 #201F54
tetradic
#54201F #39541F #1F5354 #3A1F54
square
#54201F #39541F #1F5354 #3A1F54
split-complementary
#54201F #1F543A #1F3954
monochromatic
#160908 #270F0F #54201F #81312F #AD4240

Accessibility & contrast

On white

13.10
#54201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#54201F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54201F
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54201F#FFFFFF#000000##FFFFFF
##54201F1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A1F
Deuteranopia (green-blind)
#3A351E
Tritanopia (blue-blind)
#5C1720
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #54201f;
/* rgb */ color: rgb(84, 32, 31);
/* oklch */ color: oklch(32.1% 0.078 23.6);
Tailwind
colors: {
  custom: {
    50: '#885e5a',
    500: '#54201f',
    950: '#000000',
  },
}
SCSS
$custom: #54201f;
$custom-light: #885e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#54201f",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 1.132,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32058,
    "c": 0.07808,
    "h": 23.6
  },
  "luminance": 0.03017
}

Semantic roles & 50–950 ramp

primary
#54201F
secondary
#468789
accent
#D3D652
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #54201F

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

Preview Lab → · Contrast checker → · Palette generator →

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