Free Accessible CSS Gradient Generator

← All Colors
#FF1493 Deep Pink

Deep Pink Hex Code #FF1493

Deep Pink is a medium, vivid pink with the hex code #FF1493. In RGB it is 255, 20, 147, and in HSL it is 328°, 100%, 54%. It is one of the 148 named colors in CSS, so you can write “deeppink” instead of the hex code.

HEX
#FF1493
RGB
rgb(255, 20, 147)
HSL
hsl(328, 100%, 54%)
HSV
hsv(328°, 92%, 100%)
CMYK
cmyk(0%, 92%, 42%, 0%)
CSS name
deeppink

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Deep Pink

On a white background Deep Pink has a contrast ratio of 3.64:1 (AA Large), and on black 5.77:1 (AA). Black text is the better choice on top of it.

It sits between the warm and cool halves of the color wheel, so it pairs comfortably with either.

Pink ranges from soft and gentle to bold and playful, depending on its lightness and saturation. It is common in beauty, fashion and lifestyle design.

Shades and tints of Deep Pink

Tints mix Deep Pink with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Deep Pink

These schemes are calculated from Deep Pink on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Deep Pink is #6EFF14, close to the named color Lawn Green.

Deep Pink contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Deep Pink scores against white and black.

Contrast of Deep Pink with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 3.64:1 ✕ Fail ✓ Pass ✕ Fail ✕ Fail
Black (#000000) 5.77:1 ✓ Pass ✓ Pass ✕ Fail ✓ Pass
Aa White text on Deep Pink3.64:1
Aa Black text on Deep Pink5.77:1

Deep Pink and color blindness

These are approximate previews of how Deep Pink can look with the main types of color vision deficiency.

Protanopia #596C95

Deep Pink changes noticeably.

Deuteranopia #96958E

Deep Pink changes noticeably.

Tritanopia #FF0058

Deep Pink changes noticeably.

Achromatopsia #868686

Deep Pink changes noticeably.

Gradients with Deep Pink

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Deep Pink to a lighter tint

background: linear-gradient(135deg, #ff1493 0%, #ffa1d4 100%);

Deep Pink to its analogous neighbour

background: linear-gradient(135deg, #ff1493 0%, #ff141d 100%);

Deep Pink to its complement

background: linear-gradient(135deg, #ff1493 0%, #14ff80 100%);

Colors similar to Deep Pink

How each close match differs from Deep Pink.

More pink colors →

Use Deep Pink in code

CSS
.element {
  color: #ff1493;
  background-color: #ff1493;
  border-color: deeppink;   /* deeppink is a valid CSS color name */
}
CSS variable
:root {
  --color-deep-pink: #ff1493;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#ff1493] text-[#ff1493] border-[#ff1493]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-deep-pink: #ff1493;
}

Deep Pink questions

What is the hex code for Deep Pink?

The hex code for Deep Pink is #FF1493. In RGB that is rgb(255, 20, 147), and in HSL it is hsl(328, 100%, 54%).

What is the complementary color of Deep Pink?

On the RGB (screen) color wheel, the complement of Deep Pink is #14FF80, which is close to Spring Green. On the artist’s RYB wheel it is #6EFF14, close to Lawn Green.

Should I use white or black text on Deep Pink?

Black text. It has a contrast ratio of 5.77:1 against Deep Pink, which is WCAG AA. The other option scores 3.64:1.

Is Deep Pink accessible as a text color on white?

Only for large text. Deep Pink on white scores 3.64:1, which passes WCAG AA for large text (3:1) but not for normal text (4.5:1).

What are darker and lighter shades of Deep Pink?

Mixing Deep Pink with black gives #CC1076, #990C58, #66083B, #33041D (20% to 80% black). Mixing it with white gives #FF43A9, #FF72BE, #FFA1D4, #FFD0E9 (20% to 80% white).

More color tools