#54201B#54201B

#54201B is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.0% C 0.079 H 27.9°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#54201B
RGBrgb(84, 32, 27)
HSLhsl(5, 51%, 22%)
HSVhsv(5, 68%, 33%)
CMYKcmyk(0%, 61.9%, 67.9%, 67.1%)
CIE-LABlab(20.03, 23.82, 15.44)
CIE-LCHlch(20.03, 28.38, 32.95°)
OKLaboklab(31.97% 0.0697 0.0368)
OKLCHoklch(31.97% 0.079 27.9)
XYZxyz(4.3709, 2.9975, 1.3851)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54201B #1B4F54
analogous
#541B33 #54201B #543D1B
triadic
#54201B #1B5420 #201B54
tetradic
#54201B #33541B #1B4F54 #3D1B54
square
#54201B #33541B #1B4F54 #3D1B54
split-complementary
#54201B #1B543D #1B3354
monochromatic
#170907 #260E0C #54201B #82322A #B14339

Accessibility & contrast

On white

13.13
#54201B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54201B
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54201B#FFFFFF#000000##FFFFFF
##54201B1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D291A
Deuteranopia (green-blind)
#3A351A
Tritanopia (blue-blind)
#5D161F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #54201b;
/* rgb */ color: rgb(84, 32, 27);
/* oklch */ color: oklch(32.0% 0.079 27.9);
Tailwind
colors: {
  custom: {
    50: '#885d57',
    500: '#54201b',
    950: '#000000',
  },
}
SCSS
$custom: #54201b;
$custom-light: #885d57;
$custom-dark: #000000;
JSON
{
  "hex": "#54201b",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 27
  },
  "hsl": {
    "h": 5.263,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31973,
    "c": 0.07885,
    "h": 27.9
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#54201B
secondary
#41838A
accent
#CEDB4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #54201B

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

Preview Lab → · Contrast checker → · Palette generator →

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