HSL(342, 30%, 72%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,30%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 30%, 72%) | color: hsl(342, 30%, 72%) | |
| HEX | #CDA2AF | color: #CDA2AF | |
| RGB | rgb(205, 162, 175) | color: rgb(205, 162, 175) | |
| CMYK | cmyk(0%, 21%, 15%, 20%) | — | |
| HSV | hsv(342, 21%, 80%) | — | |
| HWB | hwb(342 63% 20%) | color: hwb(342 63% 20%) | |
| OKLCH | oklch(0.7552 0.0535 358.47) | color: oklch(0.7552 0.0535 358.47) | |
| Lab | lab(70.81 17.9 -0.64) | color: lab(70.81 17.9 -0.64) | |
| LCH | lch(70.81 17.91 357.95) | color: lch(70.81 17.91 357.95) |
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)
#BABAAC — rgb(186, 186, 172)
Deuteranopia (Green-blind)
#BDC0AB — rgb(189, 192, 171)
Tritanopia (Blue-blind)
#CBA9A9 — rgb(203, 169, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 30%, 72%);
text
color: hsl(342, 30%, 72%);
border
border: 2px solid hsl(342, 30%, 72%);
gradient light
background: linear-gradient(to right, hsl(342, 30%, 92%), hsl(342, 30%, 72%));
gradient dark
background: linear-gradient(to right, hsl(342, 30%, 72%), hsl(342, 30%, 52%))
hex
background-color: #CDA2AF;
tailwind
bg-[hsl(342,30%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 30%, 72%, 0.4);
css variable
--color-primary: hsl(342, 30%, 72%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 30%, 72%)?
HEX: #CDA2AF | RGB: rgb(205, 162, 175) | CMYK: 0%, 21%, 15%, 20% | HSV: 342°, 21%, 80%. Copy any format from the conversion table above.
What colors go well with #CDA2AF?
The complementary color is HSL(162, 30%, 72%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(342, 30%, 72%) in CSS?
As HSL: color: hsl(342, 30%, 72%); — As HEX: color: #CDA2AF; — As RGB: color: rgb(205, 162, 175); — Tailwind CSS: bg-[hsl(342,30%,72%)] — CSS variable: --color-primary: hsl(342, 30%, 72%);