CSS named color
LightPink #FFB6C1
LightPink (CSS keyword lightpink) has the hex code #FFB6C1 and the RGB value rgb(255, 182, 193): a very light, muted pink.
The CSS Color 4 specification calls this out as a naming inconsistency: lightpink (#ffb6c1) is darker than pink (#ffc0cb).
Color codes for LightPink
| CSS keyword | lightpink |
|---|---|
| HEX | #FFB6C1 |
| RGB | rgb(255, 182, 193) |
| HSL | hsl(351, 100%, 86%) |
| HWB | hwb(351 71% 0%) |
| OKLCH | oklch(84.7% 0.086 9.1) |
| CMYK (naive, no ICC profile) | cmyk(0%, 29%, 24%, 0%) |
| Decimal | 16,758,465 |
| Hue family | Pinks |
Contrast and accessibility
On lightpink, black text has a contrast ratio of 12.71:1 and passes AAA at any text size; white text reaches 1.65: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 lightpink | 12.71:1 | Pass | Pass | Pass | Pass | 75.1 |
| White text on lightpink | 1.65:1 | Fail | Fail | Fail | Fail | −32.4 |
| Lightpink text on white | 1.65:1 | Fail | Fail | Fail | Fail | 28.7 |
| Lightpink text on black | 12.71:1 | Pass | Pass | Pass | Pass | −74.2 |
Tints and shades
Each step mixes lightpink with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, lightpink, white 25%) in CSS.
Tints (mixed with white)
- 5%
#ffbac4 - 15%
#ffc1ca - 25%
#ffc8d1 - 35%
#ffd0d7 - 45%
#ffd7dd - 55%
#ffdee3 - 65%
#ffe5e9 - 75%
#ffedf0 - 85%
#fff4f6 - 95%
#fffbfc
Shades (mixed with black)
- 5%
#f2adb7 - 15%
#d99ba4 - 25%
#bf8991 - 35%
#a6767d - 45%
#8c646a - 55%
#735257 - 65%
#594044 - 75%
#402e30 - 85%
#261b1d - 95%
#0d090a
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, lightpink's complementary color is #87DFD8 (close to powderblue), its analogous colors are #F3B8E0 and #FFBAA4, and its triadic partners are #BBD89D and #A1D2FF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #87dfd8 |
| Analogous | −30°, +30° | #f3b8e0#ffbaa4 |
| Triadic | +120°, +240° | #bbd89d#a1d2ff |
| Split-complementary | +150°, +210° | #9cdfb9#8adbf3 |
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?
LightPink is a warm color: its hue is 351° 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: lightpink;
background-color: #ffb6c1;
border-color: rgb(255 182 193);
outline-color: oklch(84.7% 0.086 9.1);
}<div class="bg-[#ffb6c1] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-lightpink: #ffb6c1;
}
/* then use bg-lightpink, text-lightpink, border-lightpink */import SwiftUI
extension Color {
static let lightpink = Color(red: 1.000, green: 0.714, blue: 0.757)
}import androidx.compose.ui.graphics.Color
val Lightpink = Color(0xFFFFB6C1)import 'package:flutter/material.dart';
const lightpink = Color(0xFFFFB6C1);<!-- res/values/colors.xml -->
<color name="lightpink">#FFB6C1</color>Frequently asked questions
- What is the hex code for lightpink?
- The hex code for lightpink is #FFB6C1. The same color is rgb(255, 182, 193), hsl(351, 100%, 86%) and oklch(84.7% 0.086 9.1), and in CSS you can also write the keyword lightpink directly.
- Is lightpink a warm or cool color?
- LightPink is a warm color: its hue is 351° 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 lightpink?
- Rotating the hue in OKLCH while keeping lightness and chroma, lightpink's complementary color is #87DFD8 (close to powderblue), its analogous colors are #F3B8E0 and #FFBAA4, and its triadic partners are #BBD89D and #A1D2FF. For text on top, black gives the higher contrast.
- Can you use white text on lightpink?
- White text on lightpink has a contrast ratio of 1.65:1, which fails AA even for large text under WCAG 2.2. Black text reaches 12.71:1 and passes both AA and AAA. In APCA terms that is Lc −32.4 for white and Lc 75.1 for black.
- What is the RGB value of lightpink?
- LightPink is rgb(255, 182, 193): red 255, green 182 and blue 193 on the 0 to 255 scale, or 100.0%, 71.4% and 75.7%. As a decimal integer it is 16758465.
Last reviewed by Arielton Oberek.