Recognised as Colour
#FF52E2
- #FF52E2
- Magenta
- Dark
- Nearest: Violet
#FF52E2 is a magenta with RGB values 255, 82, 226 and HSL 310°, 100%, 66%. It is a dark colour, so black text on it reaches 7.6:1 contrast (AAA for normal text). The nearest named colour is Violet.
Colour values
#FF52E2#FF52E2
HEX#FF52E2
RGBrgb(255, 82, 226)
RGB (0–1)1, 0.3216, 0.8863
RGB percentages100%, 32.2%, 88.6%
HSLhsl(310.1, 100%, 66.1%)
HSV / HSBhsv(310.1, 67.8%, 100%)
CMYK0%, 67.8%, 11.4%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer16,732,898
CSS custom property--colour: #FF52E2;
Brightness & contrast
Relative luminance0.32786WCAG 2.x, 0 is black and 1 is white
Perceived brightness170.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 7.56:1
Contrast with white2.78:1WCAG normal text: Fail
Contrast with black7.56:1WCAG normal text: AAA
Greyscale equivalent#818181
Inverted#00AD1D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text2.78:1WCAG large text: Fail
Contrast with black, large text7.56:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#52FF6F
Analogous#C552FF, #FF528C
Triadic#E2FF52, #52E2FF
Split complementary#8CFF52, #52FFC5
Tetradic#FFC552, #52FF6F, #528CFF
Tints, shades & saturation
Channel breakdown
R255
G82
B226
Red255 (100%)
Green82 (32.2%)
Blue226 (88.6%)
Hue310.06°
Saturation (HSL)100%
Lightness66.08%
Dominant channelRed
Hex per channelR FF · G 52 · B E2
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