#240E20 color
The hex color #240E20 is a very dark, desaturated magenta.
In the RGB color model it is made of 14.1% red, 5.5% green and 12.5% blue (36, 14, 32).
Its hue angle is 311°, with 44% saturation and 10% lightness. For print, the CMYK equivalent is 0% cyan, 61% magenta, 11% yellow and 86% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.12:1).
#240E20 color codes
| HEX | #240E20 | |
|---|---|---|
| RGB | rgb(36, 14, 32) | |
| RGB percent | rgb(14.1%, 5.5%, 12.5%) | |
| HSL | hsl(311, 44%, 10%) | |
| HSV / HSB | hsv(311, 61%, 14%) | |
| CMYK | cmyk(0%, 61%, 11%, 86%) | |
| CIE LAB | lab(7.17, 14.77, -7.56) | |
| CIE LCH | lch(7.17, 16.59, 332.89) | |
| CIE XYZ | xyz(1.145, 0.793, 1.459) | |
| Decimal | 2362912 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #240E20, 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 #240E20 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.12:1 | Pass | Pass | Pass |
| #240E20 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.12:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #240E20 looks to people with the most common types of color vision deficiency.
#0e1421Protanopia
no red cones#14171fDeuteranopia
no green cones#260f15Tritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #240e20; }
.text { color: #240e20; }
.border { border: 2px solid #240e20; }
.transparent { background-color: rgb(36 14 32 / 50%); }
.gradient { background: linear-gradient(to right, #240e20, #240e15); }
Similar colors
#1d0d1dShot in the Dark#2c1620Black Cherry#220011Belladonna#2b0f2eDark Prom Queen#301934Dark Purple#220022Black Sabbath#180614Crow#391531Nightly Voyager
Questions
- What color is #240E20?
- #240E20 is a very dark, desaturated magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #240E20?
- The RGB value is 36, 14, 32: 36 red, 14 green and 32 blue on a 0 to 255 scale.
- What is the complementary color of #240E20?
- The complementary color is #0E2412, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #240E20?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.12:1. WCAG asks for at least 4.5:1 for normal text.