HSL(340, 100%, 33%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,100%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 100%, 33%) | color: hsl(340, 100%, 33%) | |
| HEX | #A80038 | color: #A80038 | |
| RGB | rgb(168, 0, 56) | color: rgb(168, 0, 56) | |
| CMYK | cmyk(0%, 100%, 67%, 34%) | — | |
| HSV | hsv(340, 100%, 66%) | — | |
| HWB | hwb(340 0% 34%) | color: hwb(340 0% 34%) | |
| OKLCH | oklch(0.4654 0.186 14.2) | color: oklch(0.4654 0.186 14.2) | |
| Lab | lab(35.23 60.15 19.1) | color: lab(35.23 60.15 19.1) | |
| LCH | lch(35.23 63.11 17.62) | color: lch(35.23 63.11 17.62) |
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)
#5F5E2A — rgb(95, 94, 42)
Deuteranopia (Green-blind)
#697627 — rgb(105, 118, 39)
Tritanopia (Blue-blind)
#A0201D — rgb(160, 32, 29)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 100%, 33%);
text
color: hsl(340, 100%, 33%);
border
border: 2px solid hsl(340, 100%, 33%);
gradient light
background: linear-gradient(to right, hsl(340, 100%, 53%), hsl(340, 100%, 33%));
gradient dark
background: linear-gradient(to right, hsl(340, 100%, 33%), hsl(340, 100%, 13%))
hex
background-color: #A80038;
tailwind
bg-[hsl(340,100%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 100%, 33%, 0.4);
css variable
--color-primary: hsl(340, 100%, 33%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 100%, 33%)?
HEX: #A80038 | RGB: rgb(168, 0, 56) | CMYK: 0%, 100%, 67%, 34% | HSV: 340°, 100%, 66%. Copy any format from the conversion table above.
What colors go well with #A80038?
The complementary color is HSL(160, 100%, 33%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(340, 100%, 33%) in CSS?
As HSL: color: hsl(340, 100%, 33%); — As HEX: color: #A80038; — As RGB: color: rgb(168, 0, 56); — Tailwind CSS: bg-[hsl(340,100%,33%)] — CSS variable: --color-primary: hsl(340, 100%, 33%);