HSL(331, 45%, 72%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(331,45%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(331, 45%, 72%) | color: hsl(331, 45%, 72%) | |
| HEX | #D897B7 | color: #D897B7 | |
| RGB | rgb(216, 151, 183) | color: rgb(216, 151, 183) | |
| CMYK | cmyk(0%, 30%, 15%, 15%) | — | |
| HSV | hsv(330, 30%, 85%) | — | |
| HWB | hwb(330 60% 15%) | color: hwb(330 60% 15%) | |
| OKLCH | oklch(0.7491 0.0879 348.43) | color: oklch(0.7491 0.0879 348.43) | |
| Lab | lab(69.58 29.11 -6.77) | color: lab(69.58 29.11 -6.77) | |
| LCH | lch(69.58 29.89 346.91) | color: lch(69.58 29.89 346.91) |
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)
#BCBBAF — rgb(188, 187, 175)
Deuteranopia (Green-blind)
#C0C5AD — rgb(192, 197, 173)
Tritanopia (Blue-blind)
#D5A9A8 — rgb(213, 169, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(331, 45%, 72%);
text
color: hsl(331, 45%, 72%);
border
border: 2px solid hsl(331, 45%, 72%);
gradient light
background: linear-gradient(to right, hsl(331, 45%, 92%), hsl(331, 45%, 72%));
gradient dark
background: linear-gradient(to right, hsl(331, 45%, 72%), hsl(331, 45%, 52%))
hex
background-color: #D897B7;
tailwind
bg-[hsl(331,45%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(331, 45%, 72%, 0.4);
css variable
--color-primary: hsl(331, 45%, 72%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(331, 45%, 72%)?
HEX: #D897B7 | RGB: rgb(216, 151, 183) | CMYK: 0%, 30%, 15%, 15% | HSV: 330°, 30%, 85%. Copy any format from the conversion table above.
What colors go well with #D897B7?
The complementary color is HSL(151, 45%, 72%). 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, 45%, 72%) in CSS?
As HSL: color: hsl(331, 45%, 72%); — As HEX: color: #D897B7; — As RGB: color: rgb(216, 151, 183); — Tailwind CSS: bg-[hsl(331,45%,72%)] — CSS variable: --color-primary: hsl(331, 45%, 72%);