HSL(12, 24%, 17%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(12,24%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 24%, 17%) | color: hsl(12, 24%, 17%) | |
| HEX | #362521 | color: #362521 | |
| RGB | rgb(54, 37, 33) | color: rgb(54, 37, 33) | |
| CMYK | cmyk(0%, 31%, 39%, 79%) | — | |
| HSV | hsv(11, 39%, 21%) | — | |
| HWB | hwb(11 13% 79%) | color: hwb(11 13% 79%) | |
| OKLCH | oklch(0.2837 0.0271 33.64) | color: oklch(0.2837 0.0271 33.64) | |
| Lab | lab(16.59 7.38 5.84) | color: lab(16.59 7.38 5.84) | |
| LCH | lch(16.59 9.41 38.36) | color: lch(16.59 9.41 38.36) |
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)
#2F2E22 — rgb(47, 46, 34)
Deuteranopia (Green-blind)
#303122 — rgb(48, 49, 34)
Tritanopia (Blue-blind)
#352323 — rgb(53, 35, 35)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 24%, 17%);
text
color: hsl(12, 24%, 17%);
border
border: 2px solid hsl(12, 24%, 17%);
gradient light
background: linear-gradient(to right, hsl(12, 24%, 37%), hsl(12, 24%, 17%));
gradient dark
background: linear-gradient(to right, hsl(12, 24%, 17%), hsl(12, 24%, 0%))
hex
background-color: #362521;
tailwind
bg-[hsl(12,24%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 24%, 17%, 0.4);
css variable
--color-primary: hsl(12, 24%, 17%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(12, 24%, 17%)?
HEX: #362521 | RGB: rgb(54, 37, 33) | CMYK: 0%, 31%, 39%, 79% | HSV: 11°, 39%, 21%. Copy any format from the conversion table above.
What colors go well with #362521?
The complementary color is HSL(192, 24%, 17%). For a triadic harmony, use hues 12°, 132°, and 252°. For analogous combinations, try hues 342° and 42°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(12, 24%, 17%) in CSS?
As HSL: color: hsl(12, 24%, 17%); — As HEX: color: #362521; — As RGB: color: rgb(54, 37, 33); — Tailwind CSS: bg-[hsl(12,24%,17%)] — CSS variable: --color-primary: hsl(12, 24%, 17%);