Recognised as Colour
#C228A2
- #C228A2
- Magenta
- Dark
- Nearest: Medium violet red
#C228A2 is a magenta with RGB values 194, 40, 162 and HSL 312°, 66%, 46%. It is a dark colour, so white text on it reaches 5.1:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#C228A2#C228A2
HEX#C228A2
RGBrgb(194, 40, 162)
RGB (0–1)0.7608, 0.1569, 0.6353
RGB percentages76.1%, 15.7%, 63.5%
HSLhsl(312.5, 65.8%, 45.9%)
HSV / HSBhsv(312.5, 79.4%, 76.1%)
CMYK0%, 79.4%, 16.5%, 23.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,724,386
CSS custom property--colour: #C228A2;
Brightness & contrast
Relative luminance0.15596WCAG 2.x, 0 is black and 1 is white
Perceived brightness123.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.1:1
Contrast with white5.1:1WCAG normal text: AA
Contrast with black4.12:1WCAG normal text: Fail
Greyscale equivalent#525252
Inverted#3DD75D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.1:1WCAG large text: AAA
Contrast with black, large text4.12:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#28C248
Analogous#9528C2, #C22855
Triadic#A2C228, #28A2C2
Split complementary#55C228, #28C295
Tetradic#C29528, #28C248, #2855C2
Tints, shades & saturation
Channel breakdown
R194
G40
B162
Red194 (76.1%)
Green40 (15.7%)
Blue162 (63.5%)
Hue312.47°
Saturation (HSL)65.81%
Lightness45.88%
Dominant channelRed
Hex per channelR C2 · G 28 · B A2
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