HSL(8, 77%, 18%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(8,77%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(8, 77%, 18%) | color: hsl(8, 77%, 18%) | |
| HEX | #51140B | color: #51140B | |
| RGB | rgb(81, 20, 11) | color: rgb(81, 20, 11) | |
| CMYK | cmyk(0%, 75%, 86%, 68%) | — | |
| HSV | hsv(8, 86%, 32%) | — | |
| HWB | hwb(8 4% 68%) | color: hwb(8 4% 68%) | |
| OKLCH | oklch(0.294 0.0926 31.33) | color: oklch(0.294 0.0926 31.33) | |
| Lab | lab(16.87 27.86 21.06) | color: lab(16.87 27.86 21.06) | |
| LCH | lch(16.87 34.92 37.09) | color: lch(16.87 34.92 37.09) |
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)
#37360D — rgb(55, 54, 13)
Deuteranopia (Green-blind)
#3A3F0E — rgb(58, 63, 14)
Tritanopia (Blue-blind)
#4E0F0F — rgb(78, 15, 15)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(8, 77%, 18%);
text
color: hsl(8, 77%, 18%);
border
border: 2px solid hsl(8, 77%, 18%);
gradient light
background: linear-gradient(to right, hsl(8, 77%, 38%), hsl(8, 77%, 18%));
gradient dark
background: linear-gradient(to right, hsl(8, 77%, 18%), hsl(8, 77%, 0%))
hex
background-color: #51140B;
tailwind
bg-[hsl(8,77%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(8, 77%, 18%, 0.4);
css variable
--color-primary: hsl(8, 77%, 18%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(8, 77%, 18%)?
HEX: #51140B | RGB: rgb(81, 20, 11) | CMYK: 0%, 75%, 86%, 68% | HSV: 8°, 86%, 32%. Copy any format from the conversion table above.
What colors go well with #51140B?
The complementary color is HSL(188, 77%, 18%). For a triadic harmony, use hues 8°, 128°, and 248°. For analogous combinations, try hues 338° and 38°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(8, 77%, 18%) in CSS?
As HSL: color: hsl(8, 77%, 18%); — As HEX: color: #51140B; — As RGB: color: rgb(81, 20, 11); — Tailwind CSS: bg-[hsl(8,77%,18%)] — CSS variable: --color-primary: hsl(8, 77%, 18%);