Recognised as Colour
#D142A7
- #D142A7
- Magenta
- Dark
- Nearest: Medium violet red
#D142A7 is a magenta with RGB values 209, 66, 167 and HSL 318°, 61%, 54%. It is a dark colour, so black text on it reaches 5:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D142A7#D142A7
HEX#D142A7
RGBrgb(209, 66, 167)
RGB (0–1)0.8196, 0.2588, 0.6549
RGB percentages82%, 25.9%, 65.5%
HSLhsl(317.6, 60.9%, 53.9%)
HSV / HSBhsv(317.6, 68.4%, 82%)
CMYK0%, 68.4%, 20.1%, 18%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,714,087
CSS custom property--colour: #D142A7;
Brightness & contrast
Relative luminance0.20242WCAG 2.x, 0 is black and 1 is white
Perceived brightness137.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.05:1
Contrast with white4.16:1WCAG normal text: Fail
Contrast with black5.05:1WCAG normal text: AA
Greyscale equivalent#686868
Inverted#2EBD58
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.16:1WCAG large text: AA
Contrast with black, large text5.05:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#42D16C
Analogous#B342D1, #D14260
Triadic#A7D142, #42A7D1
Split complementary#60D142, #42D1B3
Tetradic#D1B342, #42D16C, #4260D1
Tints, shades & saturation
Channel breakdown
R209
G66
B167
Red209 (82%)
Green66 (25.9%)
Blue167 (65.5%)
Hue317.62°
Saturation (HSL)60.85%
Lightness53.92%
Dominant channelRed
Hex per channelR D1 · G 42 · B A7
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