#D31CEC color

#D31CEC rgb(211, 28, 236)
Shades of purple

The hex color #D31CEC is a vivid magenta.

In the RGB color model it is made of 82.7% red, 11% green and 92.5% blue (211, 28, 236).

Its hue angle is 293°, with 85% saturation and 52% lightness. For print, the CMYK equivalent is 11% cyan, 88% magenta, 0% yellow and 7% black.

The closest named color is Piercing Pink (#DD00EE), a difference of 1.5 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 5.15:1).

#D31CEC color codes

HEX#D31CEC
RGBrgb(211, 28, 236)
RGB percentrgb(82.7%, 11%, 92.5%)
HSLhsl(293, 85%, 52%)
HSV / HSBhsv(293, 88%, 93%)
CMYKcmyk(11%, 88%, 0%, 7%)
CIE LABlab(52.66, 86.14, -62.92)
CIE LCHlch(52.66, 106.67, 323.86)
CIE XYZxyz(42.418, 20.738, 81.109)
Decimal13835500
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #D31CEC, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #D31CECRatioAAAAAAA large
Sample text5.15:1PassFailPass
Sample text4.08:1FailFailPass
#D31CEC as text onRatioAAAAAAA large
Sample text4.08:1FailFailPass
Sample text5.15:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #D31CEC looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #d31cec; }
.text { color: #d31cec; }
.border { border: 2px solid #d31cec; }
.transparent { background-color: rgb(211 28 236 / 50%); }
.gradient { background: linear-gradient(to right, #d31cec, #ec1c9d); }
Background
Text color
Border

Similar colors

Closest common color name: Neon Purple.

Questions

What color is #D31CEC?
#D31CEC is a vivid magenta, closest to the named color Piercing Pink. It belongs to the purple family of colors.
What is the RGB value of #D31CEC?
The RGB value is 211, 28, 236: 211 red, 28 green and 236 blue on a 0 to 255 scale.
What is the complementary color of #D31CEC?
The complementary color is #35EC1C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #D31CEC?
Black text. Black text has a contrast ratio of 5.15:1 and white text 4.08:1. WCAG asks for at least 4.5:1 for normal text.