HSL(12, 82%, 16%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(12,82%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 82%, 16%) | color: hsl(12, 82%, 16%) | |
| HEX | #4A1507 | color: #4A1507 | |
| RGB | rgb(74, 21, 7) | color: rgb(74, 21, 7) | |
| CMYK | cmyk(0%, 72%, 91%, 71%) | — | |
| HSV | hsv(13, 91%, 29%) | — | |
| HWB | hwb(13 3% 71%) | color: hwb(13 3% 71%) | |
| OKLCH | oklch(0.2811 0.084 35.63) | color: oklch(0.2811 0.084 35.63) | |
| Lab | lab(15.53 24.38 20.71) | color: lab(15.53 24.38 20.71) | |
| LCH | lch(15.53 31.99 40.35) | color: lch(15.53 31.99 40.35) |
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)
#33330A — rgb(51, 51, 10)
Deuteranopia (Green-blind)
#363A0B — rgb(54, 58, 11)
Tritanopia (Blue-blind)
#470D0E — rgb(71, 13, 14)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 82%, 16%);
text
color: hsl(12, 82%, 16%);
border
border: 2px solid hsl(12, 82%, 16%);
gradient light
background: linear-gradient(to right, hsl(12, 82%, 36%), hsl(12, 82%, 16%));
gradient dark
background: linear-gradient(to right, hsl(12, 82%, 16%), hsl(12, 82%, 0%))
hex
background-color: #4A1507;
tailwind
bg-[hsl(12,82%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 82%, 16%, 0.4);
css variable
--color-primary: hsl(12, 82%, 16%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(12, 82%, 16%)?
HEX: #4A1507 | RGB: rgb(74, 21, 7) | CMYK: 0%, 72%, 91%, 71% | HSV: 13°, 91%, 29%. Copy any format from the conversion table above.
What colors go well with #4A1507?
The complementary color is HSL(192, 82%, 16%). 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, 82%, 16%) in CSS?
As HSL: color: hsl(12, 82%, 16%); — As HEX: color: #4A1507; — As RGB: color: rgb(74, 21, 7); — Tailwind CSS: bg-[hsl(12,82%,16%)] — CSS variable: --color-primary: hsl(12, 82%, 16%);