HSL(331, 19%, 81%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(331,19%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(331, 19%, 81%) | color: hsl(331, 19%, 81%) | |
| HEX | #D8C5CE | color: #D8C5CE | |
| RGB | rgb(216, 197, 206) | color: rgb(216, 197, 206) | |
| CMYK | cmyk(0%, 9%, 5%, 15%) | — | |
| HSV | hsv(332, 9%, 85%) | — | |
| HWB | hwb(332 77% 15%) | color: hwb(332 77% 15%) | |
| OKLCH | oklch(0.8418 0.0245 347.29) | color: oklch(0.8418 0.0245 347.29) | |
| Lab | lab(81.29 8.21 -2.07) | color: lab(81.29 8.21 -2.07) | |
| LCH | lch(81.29 8.47 345.85) | color: lch(81.29 8.47 345.85) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#D0D0CC — rgb(208, 208, 204)
Deuteranopia (Green-blind)
#D1D2CB — rgb(209, 210, 203)
Tritanopia (Blue-blind)
#D7CACA — rgb(215, 202, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(331, 19%, 81%);
text
color: hsl(331, 19%, 81%);
border
border: 2px solid hsl(331, 19%, 81%);
gradient light
background: linear-gradient(to right, hsl(331, 19%, 100%), hsl(331, 19%, 81%));
gradient dark
background: linear-gradient(to right, hsl(331, 19%, 81%), hsl(331, 19%, 61%))
hex
background-color: #D8C5CE;
tailwind
bg-[hsl(331,19%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(331, 19%, 81%, 0.4);
css variable
--color-primary: hsl(331, 19%, 81%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(331, 19%, 81%)?
HEX: #D8C5CE | RGB: rgb(216, 197, 206) | CMYK: 0%, 9%, 5%, 15% | HSV: 332°, 9%, 85%. Copy any format from the conversion table above.
What colors go well with #D8C5CE?
The complementary color is HSL(151, 19%, 81%). For a triadic harmony, use hues 331°, 91°, and 211°. For analogous combinations, try hues 301° and 1°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(331, 19%, 81%) in CSS?
As HSL: color: hsl(331, 19%, 81%); — As HEX: color: #D8C5CE; — As RGB: color: rgb(216, 197, 206); — Tailwind CSS: bg-[hsl(331,19%,81%)] — CSS variable: --color-primary: hsl(331, 19%, 81%);