HSL(340, 20%, 72%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,20%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 20%, 72%) | color: hsl(340, 20%, 72%) | |
| HEX | #C6A9B3 | color: #C6A9B3 | |
| RGB | rgb(198, 169, 179) | color: rgb(198, 169, 179) | |
| CMYK | cmyk(0%, 15%, 10%, 22%) | — | |
| HSV | hsv(339, 15%, 78%) | — | |
| HWB | hwb(339 66% 22%) | color: hwb(339 66% 22%) | |
| OKLCH | oklch(0.7631 0.0363 355.22) | color: oklch(0.7631 0.0363 355.22) | |
| Lab | lab(71.99 12.21 -1.21) | color: lab(71.99 12.21 -1.21) | |
| LCH | lch(71.99 12.27 354.34) | color: lch(71.99 12.27 354.34) |
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)
#B9B9B1 — rgb(185, 185, 177)
Deuteranopia (Green-blind)
#BBBDB0 — rgb(187, 189, 176)
Tritanopia (Blue-blind)
#C5AFAE — rgb(197, 175, 174)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 20%, 72%);
text
color: hsl(340, 20%, 72%);
border
border: 2px solid hsl(340, 20%, 72%);
gradient light
background: linear-gradient(to right, hsl(340, 20%, 92%), hsl(340, 20%, 72%));
gradient dark
background: linear-gradient(to right, hsl(340, 20%, 72%), hsl(340, 20%, 52%))
hex
background-color: #C6A9B3;
tailwind
bg-[hsl(340,20%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 20%, 72%, 0.4);
css variable
--color-primary: hsl(340, 20%, 72%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 20%, 72%)?
HEX: #C6A9B3 | RGB: rgb(198, 169, 179) | CMYK: 0%, 15%, 10%, 22% | HSV: 339°, 15%, 78%. Copy any format from the conversion table above.
What colors go well with #C6A9B3?
The complementary color is HSL(160, 20%, 72%). 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%, 72%) in CSS?
As HSL: color: hsl(340, 20%, 72%); — As HEX: color: #C6A9B3; — As RGB: color: rgb(198, 169, 179); — Tailwind CSS: bg-[hsl(340,20%,72%)] — CSS variable: --color-primary: hsl(340, 20%, 72%);