Recognised as Colour
#D7118F
- #D7118F
- Magenta
- Dark
- Nearest: Medium violet red
#D7118F is a magenta with RGB values 215, 17, 143 and HSL 322°, 85%, 45%. It is a dark colour, so white text on it reaches 4.8:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D7118F#D7118F
HEX#D7118F
RGBrgb(215, 17, 143)
RGB (0–1)0.8431, 0.0667, 0.5608
RGB percentages84.3%, 6.7%, 56.1%
HSLhsl(321.8, 85.3%, 45.5%)
HSV / HSBhsv(321.8, 92.1%, 84.3%)
CMYK0%, 92.1%, 33.5%, 15.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,094,735
CSS custom property--colour: #D7118F;
Brightness & contrast
Relative luminance0.16831WCAG 2.x, 0 is black and 1 is white
Perceived brightness127.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.81:1
Contrast with white4.81:1WCAG normal text: AA
Contrast with black4.37:1WCAG normal text: Fail
Greyscale equivalent#444444
Inverted#28EE70
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.81:1WCAG large text: AAA
Contrast with black, large text4.37:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#11D759
Analogous#BC11D7, #D7112C
Triadic#8FD711, #118FD7
Split complementary#2CD711, #11D7BC
Tetradic#D7BC11, #11D759, #112CD7
Tints, shades & saturation
Channel breakdown
R215
G17
B143
Red215 (84.3%)
Green17 (6.7%)
Blue143 (56.1%)
Hue321.82°
Saturation (HSL)85.34%
Lightness45.49%
Dominant channelRed
Hex per channelR D7 · G 11 · B 8F
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