#C51D8A

A medium, vivid magenta closely aligning with Mediumvioletred.

About #C51D8A

The precise color #C51D8A is an excellent choice for modern design projects. If you're using CSS, you might find it aligns closely with Mediumvioletred. In the RGB color space, it consists of 197 red, 29 green, and 138 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 0% cyan, 85% magenta, 30% yellow, and 23% black. This makes it a relatively light color when applied to physical surfaces.

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#C51D8A
RGB197, 29, 138
HSL321.1°, 74.3%, 44.3%
CMYK0%, 85%, 30%, 23%
HSV321.1°, 85.3%, 77.3%
LAB45.1, 69.7, -17.8
XYZ28.1, 14.6, 25.4
Decimal12918154

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

5.36:1
Text on #FFFFFF
AA
3.92:1
Text on #000000
AA Large
5.12:1
Text on #F8FAFC
AA
3.33:1
Text on #0F172A
AA Large

CSS Implementation

.bg-color { background-color: #C51D8A; }
.text-color { color: #C51D8A; }
.border-color { border: 2px solid #C51D8A; }

Similar Colors

Mediumvioletred
#C71585