Deep Pink hex and RGB values
The CSS keyword deeppink gives you #FF1493, or rgb(255, 20, 147).
Deep Pink is a vivid accent with more visual weight than CSS pink. Test a small badge or caption at its final size before using it for essential text.
Compare black and white text
| Text / background | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| #000000 / #FF1493 | 5.77:1 | Pass | Pass | Fail | Pass |
| #FFFFFF / #FF1493 | 3.64:1 | Fail | Pass | Fail | Fail |
Black text has the higher contrast on deep pink: 5.77:1. The table compares both options against all four text thresholds, using the unrounded values for pass or fail.
Try deep pink in a layout
The CSS sample below uses black text on #FF1493. Preview a 16 px label and a 24 px heading to compare normal and large text. Swap the colors to try deep pink as the text color; the ratio stays the same.
.sample {
background: #FF1493;
color: #000000;
}Copy the exact color
Use the converter to copy HEX, RGB or HSL. If you edit in HSL, the final value is rounded to eight-bit sRGB so the preview and exported color agree. For text over an image, gradient or translucent layer, check the finished design separately.