Recognised as Colour
#FE40D8
- #FE40D8
- Magenta
- Dark
- Nearest: Medium orchid
#FE40D8 is a magenta with RGB values 254, 64, 216 and HSL 312°, 99%, 62%. It is a dark colour, so black text on it reaches 6.9:1 contrast (AA for normal text). The nearest named colour is Medium orchid.
Colour values
#FE40D8#FE40D8
HEX#FE40D8
RGBrgb(254, 64, 216)
RGB (0–1)0.9961, 0.251, 0.8471
RGB percentages99.6%, 25.1%, 84.7%
HSLhsl(312, 99%, 62.4%)
HSV / HSBhsv(312, 74.8%, 99.6%)
CMYK0%, 74.8%, 15%, 0.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer16,662,744
CSS custom property--colour: #FE40D8;
Brightness & contrast
Relative luminance0.29695WCAG 2.x, 0 is black and 1 is white
Perceived brightness164.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 6.94:1
Contrast with white3.03:1WCAG normal text: Fail
Contrast with black6.94:1WCAG normal text: AA
Greyscale equivalent#737373
Inverted#01BF27
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.03:1WCAG large text: AA
Contrast with black, large text6.94:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#40FE66
Analogous#C540FE, #FE4079
Triadic#D8FE40, #40D8FE
Split complementary#79FE40, #40FEC5
Tetradic#FEC540, #40FE66, #4079FE
Tints, shades & saturation
Channel breakdown
R254
G64
B216
Red254 (99.6%)
Green64 (25.1%)
Blue216 (84.7%)
Hue312°
Saturation (HSL)98.96%
Lightness62.35%
Dominant channelRed
Hex per channelR FE · G 40 · B D8
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