HSL(340, 20%, 10%)
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,20%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 20%, 10%) | color: hsl(340, 20%, 10%) | |
| HEX | #1F1418 | color: #1F1418 | |
| RGB | rgb(31, 20, 24) | color: rgb(31, 20, 24) | |
| CMYK | cmyk(0%, 35%, 23%, 88%) | — | |
| HSV | hsv(338, 35%, 12%) | — | |
| HWB | hwb(338 8% 88%) | color: hwb(338 8% 88%) | |
| OKLCH | oklch(0.2072 0.0194 355.31) | color: oklch(0.2072 0.0194 355.31) | |
| Lab | lab(7.75 6.47 -0.63) | color: lab(7.75 6.47 -0.63) | |
| LCH | lch(7.75 6.5 354.44) | color: lch(7.75 6.5 354.44) |
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)
#1A1A17 — rgb(26, 26, 23)
Deuteranopia (Green-blind)
#1B1C17 — rgb(27, 28, 23)
Tritanopia (Blue-blind)
#1E1616 — rgb(30, 22, 22)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 20%, 10%);
text
color: hsl(340, 20%, 10%);
border
border: 2px solid hsl(340, 20%, 10%);
gradient light
background: linear-gradient(to right, hsl(340, 20%, 30%), hsl(340, 20%, 10%));
gradient dark
background: linear-gradient(to right, hsl(340, 20%, 10%), hsl(340, 20%, 0%))
hex
background-color: #1F1418;
tailwind
bg-[hsl(340,20%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 20%, 10%, 0.4);
css variable
--color-primary: hsl(340, 20%, 10%);
Related Colors
Use Cases for Very Dark Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 20%, 10%)?
HEX: #1F1418 | RGB: rgb(31, 20, 24) | CMYK: 0%, 35%, 23%, 88% | HSV: 338°, 35%, 12%. Copy any format from the conversion table above.
What colors go well with #1F1418?
The complementary color is HSL(160, 20%, 10%). 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, 20%, 10%) in CSS?
As HSL: color: hsl(340, 20%, 10%); — As HEX: color: #1F1418; — As RGB: color: rgb(31, 20, 24); — Tailwind CSS: bg-[hsl(340,20%,10%)] — CSS variable: --color-primary: hsl(340, 20%, 10%);