HSL(0, 80%, 40%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(0,80%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(0, 80%, 40%) | color: hsl(0, 80%, 40%) | |
| HEX | #B81414 | color: #B81414 | |
| RGB | rgb(184, 20, 20) | color: rgb(184, 20, 20) | |
| CMYK | cmyk(0%, 89%, 89%, 28%) | — | |
| HSV | hsv(0, 89%, 72%) | — | |
| HWB | hwb(0 8% 28%) | color: hwb(0 8% 28%) | |
| OKLCH | oklch(0.4988 0.1942 28.13) | color: oklch(0.4988 0.1942 28.13) | |
| Lab | lab(39.15 60.42 45.34) | color: lab(39.15 60.42 45.34) | |
| LCH | lch(39.15 75.54 36.89) | color: lch(39.15 75.54 36.89) |
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)
#717014 — rgb(113, 112, 20)
Deuteranopia (Green-blind)
#7B8714 — rgb(123, 135, 20)
Tritanopia (Blue-blind)
#B01414 — rgb(176, 20, 20)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(0, 80%, 40%);
text
color: hsl(0, 80%, 40%);
border
border: 2px solid hsl(0, 80%, 40%);
gradient light
background: linear-gradient(to right, hsl(0, 80%, 60%), hsl(0, 80%, 40%));
gradient dark
background: linear-gradient(to right, hsl(0, 80%, 40%), hsl(0, 80%, 20%))
hex
background-color: #B81414;
tailwind
bg-[hsl(0,80%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(0, 80%, 40%, 0.4);
css variable
--color-primary: hsl(0, 80%, 40%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(0, 80%, 40%)?
HEX: #B81414 | RGB: rgb(184, 20, 20) | CMYK: 0%, 89%, 89%, 28% | HSV: 0°, 89%, 72%. Copy any format from the conversion table above.
What colors go well with #B81414?
The complementary color is HSL(180, 80%, 40%). 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%, 40%) in CSS?
As HSL: color: hsl(0, 80%, 40%); — As HEX: color: #B81414; — As RGB: color: rgb(184, 20, 20); — Tailwind CSS: bg-[hsl(0,80%,40%)] — CSS variable: --color-primary: hsl(0, 80%, 40%);