#180518 color

#180518 rgb(24, 5, 24)
Shades of black

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

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

Its hue angle is 300°, with 66% saturation and 6% lightness. For print, the CMYK equivalent is 0% cyan, 79% magenta, 0% yellow and 91% black.

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

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

#180518 color codes

HEX#180518
RGBrgb(24, 5, 24)
RGB percentrgb(9.4%, 2%, 9.4%)
HSLhsl(300, 66%, 6%)
HSV / HSBhsv(300, 79%, 9%)
CMYKcmyk(0%, 79%, 0%, 91%)
CIE LABlab(3.33, 10.05, -7.18)
CIE LCHlch(3.33, 12.35, 324.44)
CIE XYZxyz(0.596, 0.369, 0.904)
Decimal1574168
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #180518; }
.text { color: #180518; }
.border { border: 2px solid #180518; }
.transparent { background-color: rgb(24 5 24 / 50%); }
.gradient { background: linear-gradient(to right, #180518, #18050f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #180518?
#180518 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 #180518?
The RGB value is 24, 5, 24: 24 red, 5 green and 24 blue on a 0 to 255 scale.
What is the complementary color of #180518?
The complementary color is #051805, found by rotating the hue 180° on the color wheel.
Is black or white text better on #180518?
White text. Black text has a contrast ratio of 1.07:1 and white text 19.56:1. WCAG asks for at least 4.5:1 for normal text.