Magenta

#f51ecb

Hex, rgb, cmyk and Pantone values for magenta, with shades, tints, matching colors and free print quality patterns.

Magenta sits in the pink band, mid and vivid. Pinks like this read soft and contemporary. It works with sage and olive for balance, or with cream for a gentle palette.

Magenta color values

Every conversion for #f51ecb, ready to copy. Hex, rgb, hsl, hsv, cmyk, cie-lab, xyz, decimal, web safe and the nearest Pantone.

Hex#f51ecb
RGB245, 30, 203
HSL312, 91%, 54%
HSV312, 88%, 96%
CMYK0%, 88%, 17%, 4%
Lab56.74, 87.13, -37.35
XYZ48.9, 24.65, 58.68
Decimal16064203
Web safe#ff33cc
Pantone238 C
Pantone238 CHex#f51ecbRgb245 30 203Cmyk0 88 17 4Lab57 87 -37Darker#7f0667Deep#c3099fLighter#f16ad6

Shades of magenta

Tints of magenta

Colors that go with magenta

Magenta in print

It is saturated enough that the cmyk build can shift slightly from screen to press, so proof it. The cmyk build is 0, 88, 17, 4.

The same color needs a different cmyk build depending on the paper. Here is #f51ecb on both.

Coated stockgloss or silk, C
0 88 17 4
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
4 85 20 10
The stock absorbs ink and gains dot, so it needs a heavier build and reads a touch softer.

This color is saturated enough to sit near the edge of cmyk gamut, so expect a small drop in punch on paper and proof it before a long run.

See how it converts in the rgb to cmyk converter, or read rgb vs cmyk for print and what the k in cmyk means.

Magenta in css

Copy #f51ecb straight into your stylesheet.

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

How magenta looks on light and dark

Magenta and accessibility

Contrast ratios for #f51ecb against black and white text, measured to the WCAG standard.

Textwhite text on this color
3.54:1
AA fail · AA large pass · AAA fail
Textblack text on this color
5.93:1
AA pass · AA large pass · AAA fail

Use black text on this color for readable body copy. To test #f51ecb against any other color, not just black and white, run the pair through our contrast checker for a live WCAG reading.

Magenta on a business card, sticker and pattern

A quick look at how #f51ecb sits on real print products. Start any of these in the maker.

Your nameFounderhello@brand.comBusiness card
Sticker
Repeat pattern

Building a full palette around magenta? Pull matching colors from any photo with the color palette generator, or check a design for print with the rgb to cmyk converter.

Turn magenta into a seamless pattern

Four patterns built from #f51ecb and its shades, free at print quality. Click any one to keep editing in the pattern maker.

Make posters, wallpaper and packaging art from magenta, free and print ready.

Open in pattern maker

How we calculate these values

Here is how the numbers for #f51ecb are worked out. Rgb, hsl, hsv, lab and xyz are derived through the usual sRGB conversion formulas. Two cmyk builds are shown because coated and uncoated papers behave differently, uncoated soaks up ink and needs more of it to hit the same target. The Pantone figure is the nearest match in our reference set by perceptual distance and it is an approximation, not an exact spot color.