HSL(351, 37%, 12%)
Very Dark Red — Red color
Adjust Color
Color Information
Color Name
Very Dark Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(351,37%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(351, 37%, 12%) | color: hsl(351, 37%, 12%) | |
| HEX | #2A1317 | color: #2A1317 | |
| RGB | rgb(42, 19, 23) | color: rgb(42, 19, 23) | |
| CMYK | cmyk(0%, 55%, 45%, 84%) | — | |
| HSV | hsv(350, 55%, 16%) | — | |
| HWB | hwb(350 7% 84%) | color: hwb(350 7% 84%) | |
| OKLCH | oklch(0.2217 0.0382 9.54) | color: oklch(0.2217 0.0382 9.54) | |
| Lab | lab(9.16 12.43 2.39) | color: lab(9.16 12.43 2.39) | |
| LCH | lch(9.16 12.66 10.88) | color: lch(9.16 12.66 10.88) |
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)
#202016 — rgb(32, 32, 22)
Deuteranopia (Green-blind)
#212316 — rgb(33, 35, 22)
Tritanopia (Blue-blind)
#291515 — rgb(41, 21, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(351, 37%, 12%);
text
color: hsl(351, 37%, 12%);
border
border: 2px solid hsl(351, 37%, 12%);
gradient light
background: linear-gradient(to right, hsl(351, 37%, 32%), hsl(351, 37%, 12%));
gradient dark
background: linear-gradient(to right, hsl(351, 37%, 12%), hsl(351, 37%, 0%))
hex
background-color: #2A1317;
tailwind
bg-[hsl(351,37%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(351, 37%, 12%, 0.4);
css variable
--color-primary: hsl(351, 37%, 12%);
Related Colors
Use Cases for Very Dark Red
Frequently Asked Questions
What are all the color codes for HSL(351, 37%, 12%)?
HEX: #2A1317 | RGB: rgb(42, 19, 23) | CMYK: 0%, 55%, 45%, 84% | HSV: 350°, 55%, 16%. Copy any format from the conversion table above.
What colors go well with #2A1317?
The complementary color is HSL(171, 37%, 12%). For a triadic harmony, use hues 351°, 111°, and 231°. For analogous combinations, try hues 321° and 21°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(351, 37%, 12%) in CSS?
As HSL: color: hsl(351, 37%, 12%); — As HEX: color: #2A1317; — As RGB: color: rgb(42, 19, 23); — Tailwind CSS: bg-[hsl(351,37%,12%)] — CSS variable: --color-primary: hsl(351, 37%, 12%);