#240B20 color
The hex color #240B20 is a very dark, moderate magenta.
In the RGB color model it is made of 14.1% red, 4.3% green and 12.5% blue (36, 11, 32).
Its hue angle is 310°, with 53% saturation and 9% lightness. For print, the CMYK equivalent is 0% cyan, 69% magenta, 11% yellow and 86% black.
The closest named color is Black Sabbath (#220022), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.36:1).
#240B20 color codes
| HEX | #240B20 | |
|---|---|---|
| RGB | rgb(36, 11, 32) | |
| RGB percent | rgb(14.1%, 4.3%, 12.5%) | |
| HSL | hsl(310, 53%, 9%) | |
| HSV / HSB | hsv(310, 69%, 14%) | |
| CMYK | cmyk(0%, 69%, 11%, 86%) | |
| CIE LAB | lab(6.49, 16.42, -8.59) | |
| CIE LCH | lch(6.49, 18.53, 332.39) | |
| CIE XYZ | xyz(1.108, 0.719, 1.447) | |
| Decimal | 2362144 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #240B20, 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 #240B20 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.36:1 | Pass | Pass | Pass |
| #240B20 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.36:1 | Pass | Pass | Pass |
| Sample text | 1.14: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 #240B20 looks to people with the most common types of color vision deficiency.
#0b1221Protanopia
no red cones#12161fDeuteranopia
no green cones#260d14Tritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #240b20; }
.text { color: #240b20; }
.border { border: 2px solid #240b20; }
.transparent { background-color: rgb(36 11 32 / 50%); }
.gradient { background: linear-gradient(to right, #240b20, #240b13); }
Similar colors
#220022Black Sabbath#1d0d1dShot in the Dark#2b0f2eDark Prom Queen#220011Belladonna#301934Dark Purple#2c1620Black Cherry#391531Nightly Voyager#180614Crow
Questions
- What color is #240B20?
- #240B20 is a very dark, moderate magenta, closest to the named color Black Sabbath. It belongs to the black family of colors.
- What is the RGB value of #240B20?
- The RGB value is 36, 11, 32: 36 red, 11 green and 32 blue on a 0 to 255 scale.
- What is the complementary color of #240B20?
- The complementary color is #0B240F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #240B20?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.36:1. WCAG asks for at least 4.5:1 for normal text.