HSL(342, 18%, 66%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(342,18%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 18%, 66%) | color: hsl(342, 18%, 66%) | |
| HEX | #B899A2 | color: #B899A2 | |
| RGB | rgb(184, 153, 162) | color: rgb(184, 153, 162) | |
| CMYK | cmyk(0%, 17%, 12%, 28%) | — | |
| HSV | hsv(343, 17%, 72%) | — | |
| HWB | hwb(343 60% 28%) | color: hwb(343 60% 28%) | |
| OKLCH | oklch(0.7136 0.0388 358.78) | color: oklch(0.7136 0.0388 358.78) | |
| Lab | lab(66.2 13 -0.38) | color: lab(66.2 13 -0.38) | |
| LCH | lch(66.2 13.01 358.33) | color: lch(66.2 13.01 358.33) |
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)
#ABAAA0 — rgb(171, 170, 160)
Deuteranopia (Green-blind)
#ACAF9F — rgb(172, 175, 159)
Tritanopia (Blue-blind)
#B69E9E — rgb(182, 158, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 18%, 66%);
text
color: hsl(342, 18%, 66%);
border
border: 2px solid hsl(342, 18%, 66%);
gradient light
background: linear-gradient(to right, hsl(342, 18%, 86%), hsl(342, 18%, 66%));
gradient dark
background: linear-gradient(to right, hsl(342, 18%, 66%), hsl(342, 18%, 46%))
hex
background-color: #B899A2;
tailwind
bg-[hsl(342,18%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 18%, 66%, 0.4);
css variable
--color-primary: hsl(342, 18%, 66%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 18%, 66%)?
HEX: #B899A2 | RGB: rgb(184, 153, 162) | CMYK: 0%, 17%, 12%, 28% | HSV: 343°, 17%, 72%. Copy any format from the conversion table above.
What colors go well with #B899A2?
The complementary color is HSL(162, 18%, 66%). 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, 18%, 66%) in CSS?
As HSL: color: hsl(342, 18%, 66%); — As HEX: color: #B899A2; — As RGB: color: rgb(184, 153, 162); — Tailwind CSS: bg-[hsl(342,18%,66%)] — CSS variable: --color-primary: hsl(342, 18%, 66%);