HSL(6, 20%, 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(6,20%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(6, 20%, 12%) | color: hsl(6, 20%, 12%) | |
| HEX | #251A18 | color: #251A18 | |
| RGB | rgb(37, 26, 24) | color: rgb(37, 26, 24) | |
| CMYK | cmyk(0%, 30%, 35%, 85%) | — | |
| HSV | hsv(9, 35%, 15%) | — | |
| HWB | hwb(9 10% 85%) | color: hwb(9 10% 85%) | |
| OKLCH | oklch(0.2307 0.0181 30.29) | color: oklch(0.2307 0.0181 30.29) | |
| Lab | lab(10.54 5.08 3.51) | color: lab(10.54 5.08 3.51) | |
| LCH | lch(10.54 6.17 34.64) | color: lch(10.54 6.17 34.64) |
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)
#202018 — rgb(32, 32, 24)
Deuteranopia (Green-blind)
#212219 — rgb(33, 34, 25)
Tritanopia (Blue-blind)
#241919 — rgb(36, 25, 25)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(6, 20%, 12%);
text
color: hsl(6, 20%, 12%);
border
border: 2px solid hsl(6, 20%, 12%);
gradient light
background: linear-gradient(to right, hsl(6, 20%, 32%), hsl(6, 20%, 12%));
gradient dark
background: linear-gradient(to right, hsl(6, 20%, 12%), hsl(6, 20%, 0%))
hex
background-color: #251A18;
tailwind
bg-[hsl(6,20%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(6, 20%, 12%, 0.4);
css variable
--color-primary: hsl(6, 20%, 12%);
Related Colors
Use Cases for Very Dark Red
Frequently Asked Questions
What are all the color codes for HSL(6, 20%, 12%)?
HEX: #251A18 | RGB: rgb(37, 26, 24) | CMYK: 0%, 30%, 35%, 85% | HSV: 9°, 35%, 15%. Copy any format from the conversion table above.
What colors go well with #251A18?
The complementary color is HSL(186, 20%, 12%). For a triadic harmony, use hues 6°, 126°, and 246°. For analogous combinations, try hues 336° and 36°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(6, 20%, 12%) in CSS?
As HSL: color: hsl(6, 20%, 12%); — As HEX: color: #251A18; — As RGB: color: rgb(37, 26, 24); — Tailwind CSS: bg-[hsl(6,20%,12%)] — CSS variable: --color-primary: hsl(6, 20%, 12%);