Skip to content

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.

HotPink#FF69B4

A bright, warm pink (#ff69b4), lighter and softer than deeppink. It is a staple of playful and retro palettes.

Color codes for HotPink

Color codes for HotPink
CSS keywordhotpink
HEX#FF69B4
RGBrgb(255, 105, 180)
HSLhsl(330, 100%, 71%)
HWBhwb(330 41% 0%)
OKLCHoklch(72.8% 0.197 352)
CMYK (naive, no ICC profile)cmyk(0%, 59%, 29%, 0%)
Decimal16,738,740
Hue familyPinks

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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on hotpink7.93:1PassPassPassPass53.2
White text on hotpink2.64:1FailFailFailFail−56.0
Hotpink text on white2.64:1FailFailFailFail50.8
Hotpink text on black7.93:1PassPassPassPass−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)

  1. 5%
    #ff71b8
  2. 15%
    #ff80bf
  3. 25%
    #ff8fc7
  4. 35%
    #ff9ece
  5. 45%
    #ffadd6
  6. 55%
    #ffbcdd
  7. 65%
    #ffcbe5
  8. 75%
    #ffdaec
  9. 85%
    #ffe9f4
  10. 95%
    #fff8fb

Shades (mixed with black)

  1. 5%
    #f264ab
  2. 15%
    #d95999
  3. 25%
    #bf4f87
  4. 35%
    #a64475
  5. 45%
    #8c3a63
  6. 55%
    #732f51
  7. 65%
    #59253f
  8. 75%
    #401a2d
  9. 85%
    #26101b
  10. 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.

Color harmonies
HarmonyRotationColor
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.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
palevioletred#db70938.1
orchid#da70d68.2
violet#ee82ee8.9

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
pink-400#fb64b61.4
rose-400#ff637e7.5
pink-500#f6339a8.5

Code snippets

CSS
.element {
  color: hotpink;
  background-color: #ff69b4;
  border-color: rgb(255 105 180);
  outline-color: oklch(72.8% 0.197 352);
}
Tailwind CSS
<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 */
SwiftUI
import SwiftUI

extension Color {
  static let hotpink = Color(red: 1.000, green: 0.412, blue: 0.706)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Hotpink = Color(0xFFFF69B4)
Flutter
import 'package:flutter/material.dart';

const hotpink = Color(0xFFFF69B4);
Android XML
<!-- 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.