HSL(340, 21%, 84%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,21%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 21%, 84%) | color: hsl(340, 21%, 84%) | |
| HEX | #DFCED3 | color: #DFCED3 | |
| RGB | rgb(223, 206, 211) | color: rgb(223, 206, 211) | |
| CMYK | cmyk(0%, 8%, 5%, 13%) | — | |
| HSV | hsv(342, 8%, 87%) | — | |
| HWB | hwb(342 80% 13%) | color: hwb(342 80% 13%) | |
| OKLCH | oklch(0.8667 0.02 357.69) | color: oklch(0.8667 0.02 357.69) | |
| Lab | lab(84.24 6.75 -0.34) | color: lab(84.24 6.75 -0.34) | |
| LCH | lch(84.24 6.76 357.12) | color: lch(84.24 6.76 357.12) |
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)
#D8D7D2 — rgb(216, 215, 210)
Deuteranopia (Green-blind)
#D9DAD2 — rgb(217, 218, 210)
Tritanopia (Blue-blind)
#DED1D1 — rgb(222, 209, 209)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 21%, 84%);
text
color: hsl(340, 21%, 84%);
border
border: 2px solid hsl(340, 21%, 84%);
gradient light
background: linear-gradient(to right, hsl(340, 21%, 100%), hsl(340, 21%, 84%));
gradient dark
background: linear-gradient(to right, hsl(340, 21%, 84%), hsl(340, 21%, 64%))
hex
background-color: #DFCED3;
tailwind
bg-[hsl(340,21%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 21%, 84%, 0.4);
css variable
--color-primary: hsl(340, 21%, 84%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 21%, 84%)?
HEX: #DFCED3 | RGB: rgb(223, 206, 211) | CMYK: 0%, 8%, 5%, 13% | HSV: 342°, 8%, 87%. Copy any format from the conversion table above.
What colors go well with #DFCED3?
The complementary color is HSL(160, 21%, 84%). 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, 21%, 84%) in CSS?
As HSL: color: hsl(340, 21%, 84%); — As HEX: color: #DFCED3; — As RGB: color: rgb(223, 206, 211); — Tailwind CSS: bg-[hsl(340,21%,84%)] — CSS variable: --color-primary: hsl(340, 21%, 84%);