HSL(2, 20%, 13%)
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,20%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 20%, 13%) | color: hsl(2, 20%, 13%) | |
| HEX | #281B1B | color: #281B1B | |
| RGB | rgb(40, 27, 27) | color: rgb(40, 27, 27) | |
| CMYK | cmyk(0%, 33%, 33%, 84%) | — | |
| HSV | hsv(0, 33%, 16%) | — | |
| HWB | hwb(0 11% 84%) | color: hwb(0 11% 84%) | |
| OKLCH | oklch(0.2384 0.0207 18.72) | color: oklch(0.2384 0.0207 18.72) | |
| Lab | lab(11.37 6.44 2.53) | color: lab(11.37 6.44 2.53) | |
| LCH | lch(11.37 6.92 21.45) | color: lch(11.37 6.92 21.45) |
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)
#22221B — rgb(34, 34, 27)
Deuteranopia (Green-blind)
#23241B — rgb(35, 36, 27)
Tritanopia (Blue-blind)
#271B1B — rgb(39, 27, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 20%, 13%);
text
color: hsl(2, 20%, 13%);
border
border: 2px solid hsl(2, 20%, 13%);
gradient light
background: linear-gradient(to right, hsl(2, 20%, 33%), hsl(2, 20%, 13%));
gradient dark
background: linear-gradient(to right, hsl(2, 20%, 13%), hsl(2, 20%, 0%))
hex
background-color: #281B1B;
tailwind
bg-[hsl(2,20%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 20%, 13%, 0.4);
css variable
--color-primary: hsl(2, 20%, 13%);
Related Colors
Use Cases for Very Dark Red
Frequently Asked Questions
What are all the color codes for HSL(2, 20%, 13%)?
HEX: #281B1B | RGB: rgb(40, 27, 27) | CMYK: 0%, 33%, 33%, 84% | HSV: 0°, 33%, 16%. Copy any format from the conversion table above.
What colors go well with #281B1B?
The complementary color is HSL(182, 20%, 13%). 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, 20%, 13%) in CSS?
As HSL: color: hsl(2, 20%, 13%); — As HEX: color: #281B1B; — As RGB: color: rgb(40, 27, 27); — Tailwind CSS: bg-[hsl(2,20%,13%)] — CSS variable: --color-primary: hsl(2, 20%, 13%);