HSL(336, 30%, 51%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(336,30%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(336, 30%, 51%) | color: hsl(336, 30%, 51%) | |
| HEX | #A85D7B | color: #A85D7B | |
| RGB | rgb(168, 93, 123) | color: rgb(168, 93, 123) | |
| CMYK | cmyk(0%, 45%, 27%, 34%) | — | |
| HSV | hsv(336, 45%, 66%) | — | |
| HWB | hwb(336 36% 34%) | color: hwb(336 36% 34%) | |
| OKLCH | oklch(0.5737 0.1038 355.46) | color: oklch(0.5737 0.1038 355.46) | |
| Lab | lab(48.99 34.31 -3.29) | color: lab(48.99 34.31 -3.29) | |
| LCH | lch(48.99 34.47 354.52) | color: lch(48.99 34.47 354.52) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#888774 — rgb(136, 135, 116)
Deuteranopia (Green-blind)
#8C9272 — rgb(140, 146, 114)
Tritanopia (Blue-blind)
#A46E6D — rgb(164, 110, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(336, 30%, 51%);
text
color: hsl(336, 30%, 51%);
border
border: 2px solid hsl(336, 30%, 51%);
gradient light
background: linear-gradient(to right, hsl(336, 30%, 71%), hsl(336, 30%, 51%));
gradient dark
background: linear-gradient(to right, hsl(336, 30%, 51%), hsl(336, 30%, 31%))
hex
background-color: #A85D7B;
tailwind
bg-[hsl(336,30%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(336, 30%, 51%, 0.4);
css variable
--color-primary: hsl(336, 30%, 51%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(336, 30%, 51%)?
HEX: #A85D7B | RGB: rgb(168, 93, 123) | CMYK: 0%, 45%, 27%, 34% | HSV: 336°, 45%, 66%. Copy any format from the conversion table above.
What colors go well with #A85D7B?
The complementary color is HSL(156, 30%, 51%). 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, 30%, 51%) in CSS?
As HSL: color: hsl(336, 30%, 51%); — As HEX: color: #A85D7B; — As RGB: color: rgb(168, 93, 123); — Tailwind CSS: bg-[hsl(336,30%,51%)] — CSS variable: --color-primary: hsl(336, 30%, 51%);