Recognised as Colour
#FF40C2
- #FF40C2
- Magenta
- Dark
- Nearest: Deep pink
#FF40C2 is a magenta with RGB values 255, 64, 194 and HSL 319°, 100%, 63%. It is a dark colour, so black text on it reaches 6.8:1 contrast (AA for normal text). The nearest named colour is Deep pink.
Colour values
#FF40C2#FF40C2
HEX#FF40C2
RGBrgb(255, 64, 194)
RGB (0–1)1, 0.251, 0.7608
RGB percentages100%, 25.1%, 76.1%
HSLhsl(319.2, 100%, 62.5%)
HSV / HSBhsv(319.2, 74.9%, 100%)
CMYK0%, 74.9%, 23.9%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer16,728,258
CSS custom property--colour: #FF40C2;
Brightness & contrast
Relative luminance0.28822WCAG 2.x, 0 is black and 1 is white
Perceived brightness161.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 6.76:1
Contrast with white3.1:1WCAG normal text: Fail
Contrast with black6.76:1WCAG normal text: AA
Greyscale equivalent#727272
Inverted#00BF3D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.1:1WCAG large text: AA
Contrast with black, large text6.76:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#40FF7D
Analogous#DC40FF, #FF4063
Triadic#C2FF40, #40C2FF
Split complementary#62FF40, #40FFDC
Tetradic#FFDD40, #40FF7D, #4063FF
Tints, shades & saturation
Channel breakdown
R255
G64
B194
Red255 (100%)
Green64 (25.1%)
Blue194 (76.1%)
Hue319.16°
Saturation (HSL)100%
Lightness62.55%
Dominant channelRed
Hex per channelR FF · G 40 · B C2
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Also reads as
FF40C2 (chemical formula)
- Formula
- 802.94 g/mol
- 43 atoms
FF40C2 has a molar mass of 802.94 g/mol, made up of 43 atoms across 2 elements: 41 × F, 2 × C.
Molar mass
Molar mass802.94 g/mol
Total atoms per molecule43
Distinct elements2
Mass of one molecule1.3333132 × 10^-21 g
Molecules per gram7.500113 × 10^20
Name
NameNot in the name tablea name cannot be worked out from a formula alone: isomers share formulas, and naming depends on bonding the formula does not show
Composition by mass
F97%
C3%
Fluorine (F × 41)778.918 g/mol, 97.008%
Carbon (C × 2)24.022 g/mol, 2.992%
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