#180518 color
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 | |
|---|---|---|
| RGB | rgb(24, 5, 24) | |
| RGB percent | rgb(9.4%, 2%, 9.4%) | |
| HSL | hsl(300, 66%, 6%) | |
| HSV / HSB | hsv(300, 79%, 9%) | |
| CMYK | cmyk(0%, 79%, 0%, 91%) | |
| CIE LAB | lab(3.33, 10.05, -7.18) | |
| CIE LCH | lch(3.33, 12.35, 324.44) | |
| CIE XYZ | xyz(0.596, 0.369, 0.904) | |
| Decimal | 1574168 | |
| Short hex | None (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 #180518 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.07:1 | Fail | Fail | Fail |
| Sample text | 19.56:1 | Pass | Pass | Pass |
| #180518 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.56:1 | Pass | Pass | Pass |
| Sample text | 1.07:1 | Fail | Fail | Fail |
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.
#040a19Protanopia
no red cones#080d17Deuteranopia
no green cones#19070dTritanopia
no blue cones#0c0c0cAchromatopsia
no color vision
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); }
Similar colors
#1d0d1dShot in the Dark#180614Crow#110011Glossy Black#150811Noir Fiction#2c1620Black Cherry#220011Belladonna#1a161dViolet Void#1f1518Bats Cloak
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.