HSL(13, 20%, 16%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(13,20%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(13, 20%, 16%) | color: hsl(13, 20%, 16%) | |
| HEX | #312421 | color: #312421 | |
| RGB | rgb(49, 36, 33) | color: rgb(49, 36, 33) | |
| CMYK | cmyk(0%, 27%, 33%, 81%) | — | |
| HSV | hsv(11, 33%, 19%) | — | |
| HWB | hwb(11 13% 81%) | color: hwb(11 13% 81%) | |
| OKLCH | oklch(0.2747 0.0207 33.26) | color: oklch(0.2747 0.0207 33.26) | |
| Lab | lab(15.62 5.61 4.38) | color: lab(15.62 5.61 4.38) | |
| LCH | lch(15.62 7.12 37.98) | color: lch(15.62 7.12 37.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)
#2B2B22 — rgb(43, 43, 34)
Deuteranopia (Green-blind)
#2C2D22 — rgb(44, 45, 34)
Tritanopia (Blue-blind)
#302222 — rgb(48, 34, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(13, 20%, 16%);
text
color: hsl(13, 20%, 16%);
border
border: 2px solid hsl(13, 20%, 16%);
gradient light
background: linear-gradient(to right, hsl(13, 20%, 36%), hsl(13, 20%, 16%));
gradient dark
background: linear-gradient(to right, hsl(13, 20%, 16%), hsl(13, 20%, 0%))
hex
background-color: #312421;
tailwind
bg-[hsl(13,20%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(13, 20%, 16%, 0.4);
css variable
--color-primary: hsl(13, 20%, 16%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(13, 20%, 16%)?
HEX: #312421 | RGB: rgb(49, 36, 33) | CMYK: 0%, 27%, 33%, 81% | HSV: 11°, 33%, 19%. Copy any format from the conversion table above.
What colors go well with #312421?
The complementary color is HSL(193, 20%, 16%). For a triadic harmony, use hues 13°, 133°, and 253°. For analogous combinations, try hues 343° and 43°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(13, 20%, 16%) in CSS?
As HSL: color: hsl(13, 20%, 16%); — As HEX: color: #312421; — As RGB: color: rgb(49, 36, 33); — Tailwind CSS: bg-[hsl(13,20%,16%)] — CSS variable: --color-primary: hsl(13, 20%, 16%);