#18051A color

#18051A rgb(24, 5, 26)
Shades of black

The hex color #18051A is a very dark, moderate magenta.

In the RGB color model it is made of 9.4% red, 2% green and 10.2% blue (24, 5, 26).

Its hue angle is 294°, with 68% saturation and 6% lightness. For print, the CMYK equivalent is 8% cyan, 81% magenta, 0% yellow and 90% black.

The closest named color is Shot in the Dark (#1D0D1D), a difference of 1.7 ΔE, which is barely visible.

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

#18051A color codes

HEX#18051A
RGBrgb(24, 5, 26)
RGB percentrgb(9.4%, 2%, 10.2%)
HSLhsl(294, 68%, 6%)
HSV / HSBhsv(294, 81%, 10%)
CMYKcmyk(8%, 81%, 0%, 90%)
CIE LABlab(3.41, 10.6, -8.66)
CIE LCHlch(3.41, 13.69, 320.74)
CIE XYZxyz(0.617, 0.377, 1.017)
Decimal1574170
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #18051A, 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 #18051ARatioAAAAAAA large
Sample text1.08:1FailFailFail
Sample text19.53:1PassPassPass
#18051A as text onRatioAAAAAAA large
Sample text19.53:1PassPassPass
Sample text1.08: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 #18051A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #18051a; }
.text { color: #18051a; }
.border { border: 2px solid #18051a; }
.transparent { background-color: rgb(24 5 26 / 50%); }
.gradient { background: linear-gradient(to right, #18051a, #1a0511); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #18051A?
#18051A is a very dark, moderate magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
What is the RGB value of #18051A?
The RGB value is 24, 5, 26: 24 red, 5 green and 26 blue on a 0 to 255 scale.
What is the complementary color of #18051A?
The complementary color is #071A05, found by rotating the hue 180° on the color wheel.
Is black or white text better on #18051A?
White text. Black text has a contrast ratio of 1.08:1 and white text 19.53:1. WCAG asks for at least 4.5:1 for normal text.