HSL(336, 45%, 79%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(336,45%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(336, 45%, 79%) | color: hsl(336, 45%, 79%) | |
| HEX | #E2B1C5 | color: #E2B1C5 | |
| RGB | rgb(226, 177, 197) | color: rgb(226, 177, 197) | |
| CMYK | cmyk(0%, 22%, 13%, 11%) | — | |
| HSV | hsv(336, 22%, 89%) | — | |
| HWB | hwb(336 69% 11%) | color: hwb(336 69% 11%) | |
| OKLCH | oklch(0.8103 0.0624 352.22) | color: oklch(0.8103 0.0624 352.22) | |
| Lab | lab(77.07 20.89 -3.3) | color: lab(77.07 20.89 -3.3) | |
| LCH | lch(77.07 21.15 351.02) | color: lch(77.07 21.15 351.02) |
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)
#CDCCC0 — rgb(205, 204, 192)
Deuteranopia (Green-blind)
#D0D3BF — rgb(208, 211, 191)
Tritanopia (Blue-blind)
#E0BCBC — rgb(224, 188, 188)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(336, 45%, 79%);
text
color: hsl(336, 45%, 79%);
border
border: 2px solid hsl(336, 45%, 79%);
gradient light
background: linear-gradient(to right, hsl(336, 45%, 99%), hsl(336, 45%, 79%));
gradient dark
background: linear-gradient(to right, hsl(336, 45%, 79%), hsl(336, 45%, 59%))
hex
background-color: #E2B1C5;
tailwind
bg-[hsl(336,45%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(336, 45%, 79%, 0.4);
css variable
--color-primary: hsl(336, 45%, 79%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(336, 45%, 79%)?
HEX: #E2B1C5 | RGB: rgb(226, 177, 197) | CMYK: 0%, 22%, 13%, 11% | HSV: 336°, 22%, 89%. Copy any format from the conversion table above.
What colors go well with #E2B1C5?
The complementary color is HSL(156, 45%, 79%). For a triadic harmony, use hues 336°, 96°, and 216°. For analogous combinations, try hues 306° and 6°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(336, 45%, 79%) in CSS?
As HSL: color: hsl(336, 45%, 79%); — As HEX: color: #E2B1C5; — As RGB: color: rgb(226, 177, 197); — Tailwind CSS: bg-[hsl(336,45%,79%)] — CSS variable: --color-primary: hsl(336, 45%, 79%);