Recognised as Colour
#D1158D
- #D1158D
- Magenta
- Dark
- Nearest: Medium violet red
#D1158D is a magenta with RGB values 209, 21, 141 and HSL 322°, 82%, 45%. It is a dark colour, so white text on it reaches 5:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D1158D#D1158D
HEX#D1158D
RGBrgb(209, 21, 141)
RGB (0–1)0.8196, 0.0824, 0.5529
RGB percentages82%, 8.2%, 55.3%
HSLhsl(321.7, 81.7%, 45.1%)
HSV / HSBhsv(321.7, 90%, 82%)
CMYK0%, 90%, 32.5%, 18%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,702,541
CSS custom property--colour: #D1158D;
Brightness & contrast
Relative luminance0.16015WCAG 2.x, 0 is black and 1 is white
Perceived brightness124.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5:1
Contrast with white5:1WCAG normal text: AA
Contrast with black4.2:1WCAG normal text: Fail
Greyscale equivalent#464646
Inverted#2EEA72
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5:1WCAG large text: AAA
Contrast with black, large text4.2:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#15D159
Analogous#B715D1, #D1152F
Triadic#8DD115, #158DD1
Split complementary#2FD115, #15D1B7
Tetradic#D1B715, #15D159, #152FD1
Tints, shades & saturation
Channel breakdown
R209
G21
B141
Red209 (82%)
Green21 (8.2%)
Blue141 (55.3%)
Hue321.7°
Saturation (HSL)81.74%
Lightness45.1%
Dominant channelRed
Hex per channelR D1 · G 15 · B 8D
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