#540027 color

#540027 rgb(84, 0, 39)
Shades of red

The hex color #540027 is a very dark, vivid rose.

In the RGB color model it is made of 32.9% red, 0% green and 15.3% blue (84, 0, 39).

Its hue angle is 332°, with 100% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 54% yellow and 67% black.

The closest named color is Evil Empire (#4C022F), a difference of 4.7 ΔE, a small difference.

White text is the more readable choice on this background (contrast 14.93:1).

#540027 color codes

HEX#540027
RGBrgb(84, 0, 39)
RGB percentrgb(32.9%, 0%, 15.3%)
HSLhsl(332, 100%, 16%)
HSV / HSBhsv(332, 100%, 33%)
CMYKcmyk(0%, 100%, 54%, 67%)
CIE LABlab(15.65, 37.81, 0.95)
CIE LCHlch(15.65, 37.82, 1.43)
CIE XYZxyz(4.023, 2.032, 2.099)
Decimal5505063
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #540027, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #540027RatioAAAAAAA large
Sample text1.41:1FailFailFail
Sample text14.93:1PassPassPass
#540027 as text onRatioAAAAAAA large
Sample text14.93:1PassPassPass
Sample text1.41:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #540027 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #540027; }
.text { color: #540027; }
.border { border: 2px solid #540027; }
.transparent { background-color: rgb(84 0 39 / 50%); }
.gradient { background: linear-gradient(to right, #540027, #540300); }
Background
Text color
Border

Similar colors

Questions

What color is #540027?
#540027 is a very dark, vivid rose, closest to the named color Evil Empire. It belongs to the red family of colors.
What is the RGB value of #540027?
The RGB value is 84, 0, 39: 84 red, 0 green and 39 blue on a 0 to 255 scale.
What is the complementary color of #540027?
The complementary color is #00542D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #540027?
White text. Black text has a contrast ratio of 1.41:1 and white text 14.93:1. WCAG asks for at least 4.5:1 for normal text.