HSL(340, 20%, 82%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,20%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 20%, 82%) | color: hsl(340, 20%, 82%) | |
| HEX | #DAC8CE | color: #DAC8CE | |
| RGB | rgb(218, 200, 206) | color: rgb(218, 200, 206) | |
| CMYK | cmyk(0%, 8%, 6%, 15%) | — | |
| HSV | hsv(340, 8%, 85%) | — | |
| HWB | hwb(340 78% 15%) | color: hwb(340 78% 15%) | |
| OKLCH | oklch(0.8493 0.0217 355.31) | color: oklch(0.8493 0.0217 355.31) | |
| Lab | lab(82.2 7.31 -0.71) | color: lab(82.2 7.31 -0.71) | |
| LCH | lch(82.2 7.34 354.45) | color: lch(82.2 7.34 354.45) |
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)
#D2D2CD — rgb(210, 210, 205)
Deuteranopia (Green-blind)
#D3D5CC — rgb(211, 213, 204)
Tritanopia (Blue-blind)
#D9CBCB — rgb(217, 203, 203)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 20%, 82%);
text
color: hsl(340, 20%, 82%);
border
border: 2px solid hsl(340, 20%, 82%);
gradient light
background: linear-gradient(to right, hsl(340, 20%, 100%), hsl(340, 20%, 82%));
gradient dark
background: linear-gradient(to right, hsl(340, 20%, 82%), hsl(340, 20%, 62%))
hex
background-color: #DAC8CE;
tailwind
bg-[hsl(340,20%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 20%, 82%, 0.4);
css variable
--color-primary: hsl(340, 20%, 82%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 20%, 82%)?
HEX: #DAC8CE | RGB: rgb(218, 200, 206) | CMYK: 0%, 8%, 6%, 15% | HSV: 340°, 8%, 85%. Copy any format from the conversion table above.
What colors go well with #DAC8CE?
The complementary color is HSL(160, 20%, 82%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(340, 20%, 82%) in CSS?
As HSL: color: hsl(340, 20%, 82%); — As HEX: color: #DAC8CE; — As RGB: color: rgb(218, 200, 206); — Tailwind CSS: bg-[hsl(340,20%,82%)] — CSS variable: --color-primary: hsl(340, 20%, 82%);