Recognised as Colour
#FF40E2
- #FF40E2
- Magenta
- Dark
- Nearest: Fuchsia
#FF40E2 is a magenta with RGB values 255, 64, 226 and HSL 309°, 100%, 63%. It is a dark colour, so black text on it reaches 7.1:1 contrast (AAA for normal text). The nearest named colour is Fuchsia.
Colour values
#FF40E2#FF40E2
HEX#FF40E2
RGBrgb(255, 64, 226)
RGB (0–1)1, 0.251, 0.8863
RGB percentages100%, 25.1%, 88.6%
HSLhsl(309.1, 100%, 62.5%)
HSV / HSBhsv(309.1, 74.9%, 100%)
CMYK0%, 74.9%, 11.4%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer16,728,290
CSS custom property--colour: #FF40E2;
Brightness & contrast
Relative luminance0.30418WCAG 2.x, 0 is black and 1 is white
Perceived brightness166.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 7.08:1
Contrast with white2.96:1WCAG normal text: Fail
Contrast with black7.08:1WCAG normal text: AAA
Greyscale equivalent#747474
Inverted#00BF1D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text2.96:1WCAG large text: Fail
Contrast with black, large text7.08:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#40FF5D
Analogous#BC40FF, #FF4083
Triadic#E2FF40, #40E2FF
Split complementary#83FF40, #40FFBC
Tetradic#FFBD40, #40FF5D, #4083FF
Tints, shades & saturation
Channel breakdown
R255
G64
B226
Red255 (100%)
Green64 (25.1%)
Blue226 (88.6%)
Hue309.11°
Saturation (HSL)100%
Lightness62.55%
Dominant channelRed
Hex per channelR FF · G 40 · 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