HSL(318, 28%, 78%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(318,28%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(318, 28%, 78%) | color: hsl(318, 28%, 78%) | |
| HEX | #D7B7CD | color: #D7B7CD | |
| RGB | rgb(215, 183, 205) | color: rgb(215, 183, 205) | |
| CMYK | cmyk(0%, 15%, 5%, 16%) | — | |
| HSV | hsv(319, 15%, 84%) | — | |
| HWB | hwb(319 71% 16%) | color: hwb(319 71% 16%) | |
| OKLCH | oklch(0.8137 0.0469 337.46) | color: oklch(0.8137 0.0469 337.46) | |
| Lab | lab(77.71 15.18 -6.81) | color: lab(77.71 15.18 -6.81) | |
| LCH | lch(77.71 16.64 335.84) | color: lch(77.71 16.64 335.84) |
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)
#C9C9C8 — rgb(201, 201, 200)
Deuteranopia (Green-blind)
#CBCDC6 — rgb(203, 205, 198)
Tritanopia (Blue-blind)
#D5C3C3 — rgb(213, 195, 195)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(318, 28%, 78%);
text
color: hsl(318, 28%, 78%);
border
border: 2px solid hsl(318, 28%, 78%);
gradient light
background: linear-gradient(to right, hsl(318, 28%, 98%), hsl(318, 28%, 78%));
gradient dark
background: linear-gradient(to right, hsl(318, 28%, 78%), hsl(318, 28%, 58%))
hex
background-color: #D7B7CD;
tailwind
bg-[hsl(318,28%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(318, 28%, 78%, 0.4);
css variable
--color-primary: hsl(318, 28%, 78%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(318, 28%, 78%)?
HEX: #D7B7CD | RGB: rgb(215, 183, 205) | CMYK: 0%, 15%, 5%, 16% | HSV: 319°, 15%, 84%. Copy any format from the conversion table above.
What colors go well with #D7B7CD?
The complementary color is HSL(138, 28%, 78%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(318, 28%, 78%) in CSS?
As HSL: color: hsl(318, 28%, 78%); — As HEX: color: #D7B7CD; — As RGB: color: rgb(215, 183, 205); — Tailwind CSS: bg-[hsl(318,28%,78%)] — CSS variable: --color-primary: hsl(318, 28%, 78%);