Recognised as Colour
#C842A8
- #C842A8
- Magenta
- Dark
- Nearest: Medium violet red
#C842A8 is a magenta with RGB values 200, 66, 168 and HSL 314°, 55%, 52%. It is a dark colour, so black text on it reaches 4.8:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#C842A8#C842A8
HEX#C842A8
RGBrgb(200, 66, 168)
RGB (0–1)0.7843, 0.2588, 0.6588
RGB percentages78.4%, 25.9%, 65.9%
HSLhsl(314.3, 54.9%, 52.2%)
HSV / HSBhsv(314.3, 67%, 78.4%)
CMYK0%, 67%, 16%, 21.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,124,264
CSS custom property--colour: #C842A8;
Brightness & contrast
Relative luminance0.19003WCAG 2.x, 0 is black and 1 is white
Perceived brightness133.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.8:1
Contrast with white4.37:1WCAG normal text: Fail
Contrast with black4.8:1WCAG normal text: AA
Greyscale equivalent#666666
Inverted#37BD57
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.37:1WCAG large text: AA
Contrast with black, large text4.8:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#42C862
Analogous#A542C8, #C84265
Triadic#A8C842, #42A8C8
Split complementary#65C842, #42C8A5
Tetradic#C8A542, #42C862, #4265C8
Tints, shades & saturation
Channel breakdown
R200
G66
B168
Red200 (78.4%)
Green66 (25.9%)
Blue168 (65.9%)
Hue314.33°
Saturation (HSL)54.92%
Lightness52.16%
Dominant channelRed
Hex per channelR C8 · G 42 · B A8
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page