CSS named color

LightPink #FFB6C1

lightpink rgb(255, 182, 193)

LightPink is a pale red with the hex code #FFB6C1, which converts to rgb(255, 182, 193). Open #FFB6C1 in the converter to tweak it.

LightPink color values

HEX#FFB6C1
HEX (shorthand)—
RGBrgb(255, 182, 193)
RGBArgba(255, 182, 193, 1)
8-digit HEX#FFB6C1FF
HSLhsl(351, 100%, 86%)
HSV / HSB351°, 29%, 100%
CMYK0%, 29%, 24%, 0%
RGB 0–11, 0.714, 0.757
Decimal16758465
CSS keywordlightpink

How #FFB6C1 converts to RGB

Split the hex code into three pairs and read each pair as a base-16 number: FF → 255, B6 → 182, C1 → 193. That gives rgb(255, 182, 193). The step-by-step guide explains the math.

Shades of LightPink

Mixed toward black in 10% steps. Click a swatch to copy its hex.

Tints of LightPink

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of LightPink on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.

Complementary

Analogous

Split-complementary

Triadic

Tetradic (square)

Contrast and accessibility

TextBackgroundRatioWCAG 2.x
White LightPink 1.65:1Fail
Black LightPink 12.71:1AAA

Use black text on a lightpink background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.

Use LightPink in CSS

.element {
  color: lightpink;                         /* keyword */
  background-color: #FFB6C1;            /* hex */
  border-color: rgb(255 182 193 / 50%);    /* 50% transparent */
}

Need it semi-transparent? Append an alpha byte: #FFB6C180 is LightPink at 50% opacity. See RGBA & transparency.

Similar named colors

FAQ

What is the HEX code for LightPink?

The CSS named color lightpink is #FFB6C1 in hexadecimal. In CSS you can write color: lightpink; or color: #FFB6C1; — both produce the same pixel.

What is LightPink in RGB?

LightPink is rgb(255, 182, 193): red 255, green 182, blue 193 on the 0–255 scale. As normalized 0–1 floats that is (1, 0.714, 0.757).

Is white or black text more readable on LightPink?

Black text is more readable. White on #FFB6C1 has a contrast ratio of 1.65:1 (Fail), black on #FFB6C1 has 12.71:1 (AAA). WCAG AA needs 4.5:1 for normal text.

Copied!