HSL(340, 90%, 7%)
Very Dark Pink — Pink color
Adjust Color
Color Information
Color Name
Very Dark Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,90%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 90%, 7%) | color: hsl(340, 90%, 7%) | |
| HEX | #22020C | color: #22020C | |
| RGB | rgb(34, 2, 12) | color: rgb(34, 2, 12) | |
| CMYK | cmyk(0%, 94%, 65%, 87%) | — | |
| HSV | hsv(341, 94%, 13%) | — | |
| HWB | hwb(341 1% 87%) | color: hwb(341 1% 87%) | |
| OKLCH | oklch(0.1678 0.0596 3.81) | color: oklch(0.1678 0.0596 3.81) | |
| Lab | lab(3.7 14.66 0.84) | color: lab(3.7 14.66 0.84) | |
| LCH | lch(3.7 14.68 3.28) | color: lch(3.7 14.68 3.28) |
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)
#14140A — rgb(20, 20, 10)
Deuteranopia (Green-blind)
#161809 — rgb(22, 24, 9)
Tritanopia (Blue-blind)
#200807 — rgb(32, 8, 7)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 90%, 7%);
text
color: hsl(340, 90%, 7%);
border
border: 2px solid hsl(340, 90%, 7%);
gradient light
background: linear-gradient(to right, hsl(340, 90%, 27%), hsl(340, 90%, 7%));
gradient dark
background: linear-gradient(to right, hsl(340, 90%, 7%), hsl(340, 90%, 0%))
hex
background-color: #22020C;
tailwind
bg-[hsl(340,90%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 90%, 7%, 0.4);
css variable
--color-primary: hsl(340, 90%, 7%);
Related Colors
Use Cases for Very Dark Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 90%, 7%)?
HEX: #22020C | RGB: rgb(34, 2, 12) | CMYK: 0%, 94%, 65%, 87% | HSV: 341°, 94%, 13%. Copy any format from the conversion table above.
What colors go well with #22020C?
The complementary color is HSL(160, 90%, 7%). 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, 90%, 7%) in CSS?
As HSL: color: hsl(340, 90%, 7%); — As HEX: color: #22020C; — As RGB: color: rgb(34, 2, 12); — Tailwind CSS: bg-[hsl(340,90%,7%)] — CSS variable: --color-primary: hsl(340, 90%, 7%);