Recognised as Colour
#2A142C
- #2A142C
- Magenta
- Dark
- Nearest: Black
#2A142C is a magenta with RGB values 42, 20, 44 and HSL 295°, 38%, 13%. It is a dark colour, so white text on it reaches 17:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#2A142C#2A142C
HEX#2A142C
RGBrgb(42, 20, 44)
RGB (0–1)0.1647, 0.0784, 0.1725
RGB percentages16.5%, 7.8%, 17.3%
HSLhsl(295, 37.5%, 12.5%)
HSV / HSBhsv(295, 54.5%, 17.3%)
CMYK4.5%, 54.5%, 0%, 82.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,757,676
CSS custom property--colour: #2A142C;
Brightness & contrast
Relative luminance0.01174WCAG 2.x, 0 is black and 1 is white
Perceived brightness31.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.01:1
Contrast with white17.01:1WCAG normal text: AAA
Contrast with black1.23:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#D5EBD3
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.01:1WCAG large text: AAA
Contrast with black, large text1.23:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#162C14
Analogous#1E142C, #2C1422
Triadic#2C2A14, #142C2A
Split complementary#222C14, #142C1E
Tetradic#2C1E14, #162C14, #14222C
Tints, shades & saturation
Channel breakdown
R42
G20
B44
Red42 (16.5%)
Green20 (7.8%)
Blue44 (17.3%)
Hue295°
Saturation (HSL)37.5%
Lightness12.55%
Dominant channelBlue
Hex per channelR 2A · G 14 · B 2C
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page