HSL(342, 40%, 68%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,40%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 40%, 68%) | color: hsl(342, 40%, 68%) | |
| HEX | #CE8DA0 | color: #CE8DA0 | |
| RGB | rgb(206, 141, 160) | color: rgb(206, 141, 160) | |
| CMYK | cmyk(0%, 32%, 22%, 19%) | — | |
| HSV | hsv(342, 32%, 81%) | — | |
| HWB | hwb(342 55% 19%) | color: hwb(342 55% 19%) | |
| OKLCH | oklch(0.7134 0.0824 0.32) | color: oklch(0.7134 0.0824 0.32) | |
| Lab | lab(65.52 27.39 0.03) | color: lab(65.52 27.39 0.03) | |
| LCH | lch(65.52 27.39 0.06) | color: lch(65.52 27.39 0.06) |
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)
#B2B19B — rgb(178, 177, 155)
Deuteranopia (Green-blind)
#B6BB9A — rgb(182, 187, 154)
Tritanopia (Blue-blind)
#CB9897 — rgb(203, 152, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 40%, 68%);
text
color: hsl(342, 40%, 68%);
border
border: 2px solid hsl(342, 40%, 68%);
gradient light
background: linear-gradient(to right, hsl(342, 40%, 88%), hsl(342, 40%, 68%));
gradient dark
background: linear-gradient(to right, hsl(342, 40%, 68%), hsl(342, 40%, 48%))
hex
background-color: #CE8DA0;
tailwind
bg-[hsl(342,40%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 40%, 68%, 0.4);
css variable
--color-primary: hsl(342, 40%, 68%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 40%, 68%)?
HEX: #CE8DA0 | RGB: rgb(206, 141, 160) | CMYK: 0%, 32%, 22%, 19% | HSV: 342°, 32%, 81%. Copy any format from the conversion table above.
What colors go well with #CE8DA0?
The complementary color is HSL(162, 40%, 68%). 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, 40%, 68%) in CSS?
As HSL: color: hsl(342, 40%, 68%); — As HEX: color: #CE8DA0; — As RGB: color: rgb(206, 141, 160); — Tailwind CSS: bg-[hsl(342,40%,68%)] — CSS variable: --color-primary: hsl(342, 40%, 68%);