Deep pink color (#FF1493)
#FF1493 (Deep pink) is a vivid pink colour. It is rgb(255, 20, 147) in RGB and hsl(328, 100%, 54%) in HSL. Text in black reads better on it: the contrast is 5.77:1 against black and 3.64:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#FF1493}:\quad R=\mathrm{FF}_{16}=255,\ G=\mathrm{14}_{16}=20,\ B=\mathrm{93}_{16}=147 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
328^\circ + 180^\circ = 148^\circ ;\Rightarrow; \mathrm{#14FF80} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#FF1493} = \mathrm{rgb}(255, 20, 147) \]
\[ \mathrm{#FF1493}:\quad R=\mathrm{FF}_{16}=255,\ G=\mathrm{14}_{16}=20,\ B=\mathrm{93}_{16}=147 \]
\[ H=328^\circ,\quad S=100\%,\quad L=54\% \]
\[ 328^\circ + 180^\circ = 148^\circ ;\Rightarrow; \mathrm{#14FF80} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 3.64:1\ \text{(on white)} \]Deep pink in every colour format
| Format | Value |
|---|---|
| HEX | #FF1493 |
| RGB | rgb(255, 20, 147) |
| RGB (percent) | rgb(100.0%, 7.8%, 57.6%) |
| HSL | hsl(328, 100%, 54%) |
| HSV / HSB | hsv(328, 92%, 100%) |
| CMYK | cmyk(0%, 92%, 42%, 0%) |
| Decimal | 16716947 |
| Description | vivid pink |
| CSS name | deeppink |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 3.64:1 | fail | pass | fail | fail |
| Black text | 5.77:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #2A0318 #550731 #800A4A #AA0D62 #D5117B |
| This colour | #FF1493 |
| Tints (mixed with white) | #FF3BA5 #FF62B7 #FF8AC9 #FFB1DB #FFD8ED |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #596C95 | 83 |
| Deuteranopia | #96958E | 86 |
| Tritanopia | #FF0058 | 33 |
| Grayscale | #868686 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Medium violet red | #C71585 |
| Hot pink | #FF69B4 |
| Pale violet red | #DB7093 |
| Orchid | #DA70D6 |
Questions
What is the RGB value of #FF1493?
rgb(255, 20, 147): red 255, green 20, blue 147.
What is the HSL value of #FF1493?
hsl(328, 100%, 54%): a hue of 328°, 100% saturation and 54% lightness.
What is the complementary colour of #FF1493?
#14FF80, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #00EB6C.
Should I use white or black text on #FF1493?
Black. White gives 3.64:1 and black 5.77:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #FF1493?
cmyk(0%, 92%, 42%, 0%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #FF1493 a named colour?
Yes: it is the CSS colour name "deeppink".