HSL(0, 80%, 31%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(0,80%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(0, 80%, 31%) | color: hsl(0, 80%, 31%) | |
| HEX | #8E1010 | color: #8E1010 | |
| RGB | rgb(142, 16, 16) | color: rgb(142, 16, 16) | |
| CMYK | cmyk(0%, 89%, 89%, 44%) | — | |
| HSV | hsv(0, 89%, 56%) | — | |
| HWB | hwb(0 6% 44%) | color: hwb(0 6% 44%) | |
| OKLCH | oklch(0.4141 0.1587 27.82) | color: oklch(0.4141 0.1587 27.82) | |
| Lab | lab(29.81 49.36 36.06) | color: lab(29.81 49.36 36.06) | |
| LCH | lch(29.81 61.13 36.15) | color: lch(29.81 61.13 36.15) |
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)
#575610 — rgb(87, 86, 16)
Deuteranopia (Green-blind)
#5F6810 — rgb(95, 104, 16)
Tritanopia (Blue-blind)
#881010 — rgb(136, 16, 16)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(0, 80%, 31%);
text
color: hsl(0, 80%, 31%);
border
border: 2px solid hsl(0, 80%, 31%);
gradient light
background: linear-gradient(to right, hsl(0, 80%, 51%), hsl(0, 80%, 31%));
gradient dark
background: linear-gradient(to right, hsl(0, 80%, 31%), hsl(0, 80%, 11%))
hex
background-color: #8E1010;
tailwind
bg-[hsl(0,80%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(0, 80%, 31%, 0.4);
css variable
--color-primary: hsl(0, 80%, 31%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(0, 80%, 31%)?
HEX: #8E1010 | RGB: rgb(142, 16, 16) | CMYK: 0%, 89%, 89%, 44% | HSV: 0°, 89%, 56%. Copy any format from the conversion table above.
What colors go well with #8E1010?
The complementary color is HSL(180, 80%, 31%). For a triadic harmony, use hues 0°, 120°, and 240°. For analogous combinations, try hues 330° and 30°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(0, 80%, 31%) in CSS?
As HSL: color: hsl(0, 80%, 31%); — As HEX: color: #8E1010; — As RGB: color: rgb(142, 16, 16); — Tailwind CSS: bg-[hsl(0,80%,31%)] — CSS variable: --color-primary: hsl(0, 80%, 31%);