#180304 color
The hex color #180304 is a very dark, moderate red.
In the RGB color model it is made of 9.4% red, 1.2% green and 1.6% blue (24, 3, 4).
Its hue angle is 357°, with 78% saturation and 5% lightness. For print, the CMYK equivalent is 0% cyan, 88% magenta, 83% yellow and 91% black.
The closest named color is Dwarf Fortress (#1D0200), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.93:1).
#180304 color codes
| HEX | #180304 | |
|---|---|---|
| RGB | rgb(24, 3, 4) | |
| RGB percent | rgb(9.4%, 1.2%, 1.6%) | |
| HSL | hsl(357, 78%, 5%) | |
| HSV / HSB | hsv(357, 88%, 9%) | |
| CMYK | cmyk(0%, 88%, 83%, 91%) | |
| CIE LAB | lab(2.42, 7.22, 2.12) | |
| CIE LCH | lch(2.42, 7.53, 16.34) | |
| CIE XYZ | xyz(0.431, 0.268, 0.144) | |
| Decimal | 1573636 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #180304, 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 #180304 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.05:1 | Fail | Fail | Fail |
| Sample text | 19.93:1 | Pass | Pass | Pass |
| #180304 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.93:1 | Pass | Pass | Pass |
| Sample text | 1.05: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 #180304 looks to people with the most common types of color vision deficiency.
#070604Protanopia
no red cones#0d0b04Deuteranopia
no green cones#1b0103Tritanopia
no blue cones#090909Achromatopsia
no color vision
CSS examples
.background { background-color: #180304; }
.text { color: #180304; }
.border { border: 2px solid #180304; }
.transparent { background-color: rgb(24 3 4 / 50%); }
.gradient { background: linear-gradient(to right, #180304, #180d03); }
Similar colors
#1d0200Dwarf Fortress#110101Dark Matter#221111Italian Roast#1b1212Licorice#150811Noir Fiction#1f1518Bats Cloak#1a1110Scandinavian Liquorice#180614Crow
Questions
- What color is #180304?
- #180304 is a very dark, moderate red, closest to the named color Dwarf Fortress. It belongs to the black family of colors.
- What is the RGB value of #180304?
- The RGB value is 24, 3, 4: 24 red, 3 green and 4 blue on a 0 to 255 scale.
- What is the complementary color of #180304?
- The complementary color is #031817, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #180304?
- White text. Black text has a contrast ratio of 1.05:1 and white text 19.93:1. WCAG asks for at least 4.5:1 for normal text.