HSL(8, 27%, 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(8,27%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(8, 27%, 12%) | color: hsl(8, 27%, 12%) | |
| HEX | #271916 | color: #271916 | |
| RGB | rgb(39, 25, 22) | color: rgb(39, 25, 22) | |
| CMYK | cmyk(0%, 36%, 44%, 85%) | — | |
| HSV | hsv(11, 44%, 15%) | — | |
| HWB | hwb(11 8% 85%) | color: hwb(11 8% 85%) | |
| OKLCH | oklch(0.2304 0.0234 32.44) | color: oklch(0.2304 0.0234 32.44) | |
| Lab | lab(10.44 6.48 4.88) | color: lab(10.44 6.48 4.88) | |
| LCH | lch(10.44 8.11 36.98) | color: lch(10.44 8.11 36.98) |
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)
#212117 — rgb(33, 33, 23)
Deuteranopia (Green-blind)
#222317 — rgb(34, 35, 23)
Tritanopia (Blue-blind)
#261717 — rgb(38, 23, 23)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(8, 27%, 12%);
text
color: hsl(8, 27%, 12%);
border
border: 2px solid hsl(8, 27%, 12%);
gradient light
background: linear-gradient(to right, hsl(8, 27%, 32%), hsl(8, 27%, 12%));
gradient dark
background: linear-gradient(to right, hsl(8, 27%, 12%), hsl(8, 27%, 0%))
hex
background-color: #271916;
tailwind
bg-[hsl(8,27%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(8, 27%, 12%, 0.4);
css variable
--color-primary: hsl(8, 27%, 12%);
Related Colors
Use Cases for Very Dark Red
Frequently Asked Questions
What are all the color codes for HSL(8, 27%, 12%)?
HEX: #271916 | RGB: rgb(39, 25, 22) | CMYK: 0%, 36%, 44%, 85% | HSV: 11°, 44%, 15%. Copy any format from the conversion table above.
What colors go well with #271916?
The complementary color is HSL(188, 27%, 12%). For a triadic harmony, use hues 8°, 128°, and 248°. For analogous combinations, try hues 338° and 38°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(8, 27%, 12%) in CSS?
As HSL: color: hsl(8, 27%, 12%); — As HEX: color: #271916; — As RGB: color: rgb(39, 25, 22); — Tailwind CSS: bg-[hsl(8,27%,12%)] — CSS variable: --color-primary: hsl(8, 27%, 12%);