#C5168A
A medium, vivid magenta closely aligning with Mediumvioletred.
About #C5168A
At its core, #C5168A is a medium and vivid hue. It is closely associated with the named CSS color Mediumvioletred. In the RGB color space, it consists of 197 red, 22 green, and 138 blue.
When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 0% cyan, 89% magenta, 30% yellow, and 23% black. Always request a physical proof before doing a large print run with this exact code.
When using this color as a background, text legibility must be considered. Because it is a medium color, it is generally recommended to use #FFFFFF text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#C5168A
RGB197, 22, 138
HSL320.2°, 79.9%, 42.9%
CMYK0%, 89%, 30%, 23%
HSV320.2°, 88.8%, 77.3%
LAB44.6, 71.0, -18.5
XYZ27.9, 14.3, 25.3
Decimal12916362
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
5.45:1
Text on #FFFFFF
AA
3.86:1
Text on #000000
AA Large
5.21:1
Text on #F8FAFC
AA
3.28:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #C5168A;
}
.text-color {
color: #C5168A;
}
.border-color {
border: 2px solid #C5168A;
}