CSS named color
HotPink #FF69B4
HotPink (CSS keyword hotpink) has the hex code #FF69B4 and the RGB value rgb(255, 105, 180): a light, vivid pink.
A bright, warm pink (#ff69b4), lighter and softer than deeppink. It is a staple of playful and retro palettes.
Color codes for HotPink
| CSS keyword | hotpink |
|---|---|
| HEX | #FF69B4 |
| RGB | rgb(255, 105, 180) |
| HSL | hsl(330, 100%, 71%) |
| HWB | hwb(330 41% 0%) |
| OKLCH | oklch(72.8% 0.197 352) |
| CMYK (naive, no ICC profile) | cmyk(0%, 59%, 29%, 0%) |
| Decimal | 16,738,740 |
| Hue family | Pinks |
Contrast and accessibility
On hotpink, black text has a contrast ratio of 7.93:1 and passes AAA at any text size; white text reaches 2.64:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on hotpink | 7.93:1 | Pass | Pass | Pass | Pass | 53.2 |
| White text on hotpink | 2.64:1 | Fail | Fail | Fail | Fail | −56.0 |
| Hotpink text on white | 2.64:1 | Fail | Fail | Fail | Fail | 50.8 |
| Hotpink text on black | 7.93:1 | Pass | Pass | Pass | Pass | −51.1 |
Tints and shades
Each step mixes hotpink with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, hotpink, white 25%) in CSS.
Tints (mixed with white)
- 5%
#ff71b8 - 15%
#ff80bf - 25%
#ff8fc7 - 35%
#ff9ece - 45%
#ffadd6 - 55%
#ffbcdd - 65%
#ffcbe5 - 75%
#ffdaec - 85%
#ffe9f4 - 95%
#fff8fb
Shades (mixed with black)
- 5%
#f264ab - 15%
#d95999 - 25%
#bf4f87 - 35%
#a64475 - 45%
#8c3a63 - 55%
#732f51 - 65%
#59253f - 75%
#401a2d - 85%
#26101b - 95%
#0d0509
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, hotpink's complementary color is #00C79B (close to mediumaquamarine), its analogous colors are #DF76EF and #FF6B6E, and its triadic partners are #ABB100 and #00B7FF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #00c79b |
| Analogous | −30°, +30° | #df76ef#ff6b6e |
| Triadic | +120°, +240° | #abb100#00b7ff |
| Split-complementary | +150°, +210° | #4fc445#00c0cd |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
HotPink is a warm color: its hue is 330° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Code snippets
.element {
color: hotpink;
background-color: #ff69b4;
border-color: rgb(255 105 180);
outline-color: oklch(72.8% 0.197 352);
}<div class="bg-[#ff69b4] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-hotpink: #ff69b4;
}
/* then use bg-hotpink, text-hotpink, border-hotpink */import SwiftUI
extension Color {
static let hotpink = Color(red: 1.000, green: 0.412, blue: 0.706)
}import androidx.compose.ui.graphics.Color
val Hotpink = Color(0xFFFF69B4)import 'package:flutter/material.dart';
const hotpink = Color(0xFFFF69B4);<!-- res/values/colors.xml -->
<color name="hotpink">#FF69B4</color>Frequently asked questions
- What is the hex code for hotpink?
- The hex code for hotpink is #FF69B4. The same color is rgb(255, 105, 180), hsl(330, 100%, 71%) and oklch(72.8% 0.197 352), and in CSS you can also write the keyword hotpink directly.
- Is hotpink a warm or cool color?
- HotPink is a warm color: its hue is 330° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
- What colors go with hotpink?
- Rotating the hue in OKLCH while keeping lightness and chroma, hotpink's complementary color is #00C79B (close to mediumaquamarine), its analogous colors are #DF76EF and #FF6B6E, and its triadic partners are #ABB100 and #00B7FF. For text on top, black gives the higher contrast.
- Can you use white text on hotpink?
- White text on hotpink has a contrast ratio of 2.64:1, which fails AA even for large text under WCAG 2.2. Black text reaches 7.93:1 and passes both AA and AAA. In APCA terms that is Lc −56.0 for white and Lc 53.2 for black.
- What is the RGB value of hotpink?
- HotPink is rgb(255, 105, 180): red 255, green 105 and blue 180 on the 0 to 255 scale, or 100.0%, 41.2% and 70.6%. As a decimal integer it is 16738740.
Last reviewed by Arielton Oberek.