Recognised as Colour
#FF0C8A
- #FF0C8A
- Magenta
- Dark
- Nearest: Deep pink
#FF0C8A is a magenta with RGB values 255, 12, 138 and HSL 329°, 100%, 52%. It is a dark colour, so black text on it reaches 5.7:1 contrast (AA for normal text). The nearest named colour is Deep pink.
Colour values
#FF0C8A#FF0C8A
HEX#FF0C8A
RGBrgb(255, 12, 138)
RGB (0–1)1, 0.0471, 0.5412
RGB percentages100%, 4.7%, 54.1%
HSLhsl(328.9, 100%, 52.4%)
HSV / HSBhsv(328.9, 95.3%, 100%)
CMYK0%, 95.3%, 45.9%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer16,714,890
CSS custom property--colour: #FF0C8A;
Brightness & contrast
Relative luminance0.23358WCAG 2.x, 0 is black and 1 is white
Perceived brightness147.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.67:1
Contrast with white3.7:1WCAG normal text: Fail
Contrast with black5.67:1WCAG normal text: AA
Greyscale equivalent#494949
Inverted#00F375
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.7:1WCAG large text: AA
Contrast with black, large text5.67:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0CFF81
Analogous#FB0CFF, #FF0C10
Triadic#8AFF0C, #0C8AFF
Split complementary#10FF0C, #0CFFFB
Tetradic#FFFB0C, #0CFF81, #0C10FF
Tints, shades & saturation
Channel breakdown
R255
G12
B138
Red255 (100%)
Green12 (4.7%)
Blue138 (54.1%)
Hue328.89°
Saturation (HSL)100%
Lightness52.35%
Dominant channelRed
Hex per channelR FF · G 0C · B 8A
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