HSL(2, 35%, 9%)
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(2,35%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 35%, 9%) | color: hsl(2, 35%, 9%) | |
| HEX | #1F0F0F | color: #1F0F0F | |
| RGB | rgb(31, 15, 15) | color: rgb(31, 15, 15) | |
| CMYK | cmyk(0%, 52%, 52%, 88%) | — | |
| HSV | hsv(0, 52%, 12%) | — | |
| HWB | hwb(0 6% 88%) | color: hwb(0 6% 88%) | |
| OKLCH | oklch(0.1915 0.0273 19.89) | color: oklch(0.1915 0.0273 19.89) | |
| Lab | lab(6.03 7.69 2.71) | color: lab(6.03 7.69 2.71) | |
| LCH | lch(6.03 8.15 19.41) | color: lch(6.03 8.15 19.41) |
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)
#18180F — rgb(24, 24, 15)
Deuteranopia (Green-blind)
#191A0F — rgb(25, 26, 15)
Tritanopia (Blue-blind)
#1E0F0F — rgb(30, 15, 15)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 35%, 9%);
text
color: hsl(2, 35%, 9%);
border
border: 2px solid hsl(2, 35%, 9%);
gradient light
background: linear-gradient(to right, hsl(2, 35%, 29%), hsl(2, 35%, 9%));
gradient dark
background: linear-gradient(to right, hsl(2, 35%, 9%), hsl(2, 35%, 0%))
hex
background-color: #1F0F0F;
tailwind
bg-[hsl(2,35%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 35%, 9%, 0.4);
css variable
--color-primary: hsl(2, 35%, 9%);
Related Colors
Use Cases for Very Dark Red
Frequently Asked Questions
What are all the color codes for HSL(2, 35%, 9%)?
HEX: #1F0F0F | RGB: rgb(31, 15, 15) | CMYK: 0%, 52%, 52%, 88% | HSV: 0°, 52%, 12%. Copy any format from the conversion table above.
What colors go well with #1F0F0F?
The complementary color is HSL(182, 35%, 9%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 35%, 9%) in CSS?
As HSL: color: hsl(2, 35%, 9%); — As HEX: color: #1F0F0F; — As RGB: color: rgb(31, 15, 15); — Tailwind CSS: bg-[hsl(2,35%,9%)] — CSS variable: --color-primary: hsl(2, 35%, 9%);