HSL(336, 70%, 33%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(336,70%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(336, 70%, 33%) | color: hsl(336, 70%, 33%) | |
| HEX | #8F1948 | color: #8F1948 | |
| RGB | rgb(143, 25, 72) | color: rgb(143, 25, 72) | |
| CMYK | cmyk(0%, 83%, 50%, 44%) | — | |
| HSV | hsv(336, 83%, 56%) | — | |
| HWB | hwb(336 10% 44%) | color: hwb(336 10% 44%) | |
| OKLCH | oklch(0.4325 0.1551 3.1) | color: oklch(0.4325 0.1551 3.1) | |
| Lab | lab(31.82 50.49 3.07) | color: lab(31.82 50.49 3.07) | |
| LCH | lch(31.82 50.58 3.48) | color: lch(31.82 50.58 3.48) |
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)
#5C5B3D — rgb(92, 91, 61)
Deuteranopia (Green-blind)
#636C3A — rgb(99, 108, 58)
Tritanopia (Blue-blind)
#893432 — rgb(137, 52, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(336, 70%, 33%);
text
color: hsl(336, 70%, 33%);
border
border: 2px solid hsl(336, 70%, 33%);
gradient light
background: linear-gradient(to right, hsl(336, 70%, 53%), hsl(336, 70%, 33%));
gradient dark
background: linear-gradient(to right, hsl(336, 70%, 33%), hsl(336, 70%, 13%))
hex
background-color: #8F1948;
tailwind
bg-[hsl(336,70%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(336, 70%, 33%, 0.4);
css variable
--color-primary: hsl(336, 70%, 33%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(336, 70%, 33%)?
HEX: #8F1948 | RGB: rgb(143, 25, 72) | CMYK: 0%, 83%, 50%, 44% | HSV: 336°, 83%, 56%. Copy any format from the conversion table above.
What colors go well with #8F1948?
The complementary color is HSL(156, 70%, 33%). 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, 70%, 33%) in CSS?
As HSL: color: hsl(336, 70%, 33%); — As HEX: color: #8F1948; — As RGB: color: rgb(143, 25, 72); — Tailwind CSS: bg-[hsl(336,70%,33%)] — CSS variable: --color-primary: hsl(336, 70%, 33%);