Recognised as Colour
#D52E98
- #D52E98
- Magenta
- Dark
- Nearest: Medium violet red
#D52E98 is a magenta with RGB values 213, 46, 152 and HSL 322°, 67%, 51%. It is a dark colour, so black text on it reaches 4.7:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D52E98#D52E98
HEX#D52E98
RGBrgb(213, 46, 152)
RGB (0–1)0.8353, 0.1804, 0.5961
RGB percentages83.5%, 18%, 59.6%
HSLhsl(321.9, 66.5%, 50.8%)
HSV / HSBhsv(321.9, 78.4%, 83.5%)
CMYK0%, 78.4%, 28.6%, 16.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,971,096
CSS custom property--colour: #D52E98;
Brightness & contrast
Relative luminance0.18367WCAG 2.x, 0 is black and 1 is white
Perceived brightness132.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.67:1
Contrast with white4.49:1WCAG normal text: Fail
Contrast with black4.67:1WCAG normal text: AA
Greyscale equivalent#595959
Inverted#2AD167
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.49:1WCAG large text: AA
Contrast with black, large text4.67:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2ED56B
Analogous#BE2ED5, #D52E45
Triadic#98D52E, #2E98D5
Split complementary#45D52E, #2ED5BE
Tetradic#D5BE2E, #2ED56B, #2E45D5
Tints, shades & saturation
Channel breakdown
R213
G46
B152
Red213 (83.5%)
Green46 (18%)
Blue152 (59.6%)
Hue321.92°
Saturation (HSL)66.53%
Lightness50.78%
Dominant channelRed
Hex per channelR D5 · G 2E · B 98
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