Recognised as Colour
#12020D
- #12020D
- Magenta
- Dark
- Nearest: Black
#12020D is a magenta with RGB values 18, 2, 13 and HSL 319°, 80%, 4%. It is a dark colour, so white text on it reaches 20.2:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#12020D#12020D
HEX#12020D
RGBrgb(18, 2, 13)
RGB (0–1)0.0706, 0.0078, 0.051
RGB percentages7.1%, 0.8%, 5.1%
HSLhsl(318.8, 80%, 3.9%)
HSV / HSBhsv(318.8, 88.9%, 7.1%)
CMYK0%, 88.9%, 27.8%, 92.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,180,173
CSS custom property--colour: #12020D;
Brightness & contrast
Relative luminance0.00201WCAG 2.x, 0 is black and 1 is white
Perceived brightness10.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 20.19:1
Contrast with white20.19:1WCAG normal text: AAA
Contrast with black1.04:1WCAG normal text: Fail
Greyscale equivalent#060606
Inverted#EDFDF2
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text20.19:1WCAG large text: AAA
Contrast with black, large text1.04:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#021207
Analogous#0F0212, #120205
Triadic#0D1202, #020D12
Split complementary#051202, #02120F
Tetradic#120F02, #021207, #020512
Tints, shades & saturation
Channel breakdown
R18
G2
B13
Red18 (7.1%)
Green2 (0.8%)
Blue13 (5.1%)
Hue318.75°
Saturation (HSL)80%
Lightness3.92%
Dominant channelRed
Hex per channelR 12 · G 02 · B 0D
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page