HSL(8, 70%, 31%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(8,70%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(8, 70%, 31%) | color: hsl(8, 70%, 31%) | |
| HEX | #862618 | color: #862618 | |
| RGB | rgb(134, 38, 24) | color: rgb(134, 38, 24) | |
| CMYK | cmyk(0%, 72%, 82%, 47%) | — | |
| HSV | hsv(8, 82%, 53%) | — | |
| HWB | hwb(8 10% 47%) | color: hwb(8 10% 47%) | |
| OKLCH | oklch(0.4179 0.1332 31.29) | color: oklch(0.4179 0.1332 31.29) | |
| Lab | lab(30.69 40.09 31.93) | color: lab(30.69 40.09 31.93) | |
| LCH | lch(30.69 51.25 38.54) | color: lch(30.69 51.25 38.54) |
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)
#5C5C1B — rgb(92, 92, 27)
Deuteranopia (Green-blind)
#62691C — rgb(98, 105, 28)
Tritanopia (Blue-blind)
#811E1F — rgb(129, 30, 31)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(8, 70%, 31%);
text
color: hsl(8, 70%, 31%);
border
border: 2px solid hsl(8, 70%, 31%);
gradient light
background: linear-gradient(to right, hsl(8, 70%, 51%), hsl(8, 70%, 31%));
gradient dark
background: linear-gradient(to right, hsl(8, 70%, 31%), hsl(8, 70%, 11%))
hex
background-color: #862618;
tailwind
bg-[hsl(8,70%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(8, 70%, 31%, 0.4);
css variable
--color-primary: hsl(8, 70%, 31%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(8, 70%, 31%)?
HEX: #862618 | RGB: rgb(134, 38, 24) | CMYK: 0%, 72%, 82%, 47% | HSV: 8°, 82%, 53%. Copy any format from the conversion table above.
What colors go well with #862618?
The complementary color is HSL(188, 70%, 31%). 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, 70%, 31%) in CSS?
As HSL: color: hsl(8, 70%, 31%); — As HEX: color: #862618; — As RGB: color: rgb(134, 38, 24); — Tailwind CSS: bg-[hsl(8,70%,31%)] — CSS variable: --color-primary: hsl(8, 70%, 31%);