HSL(8, 83%, 40%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(8,83%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(8, 83%, 40%) | color: hsl(8, 83%, 40%) | |
| HEX | #BB2811 | color: #BB2811 | |
| RGB | rgb(187, 40, 17) | color: rgb(187, 40, 17) | |
| CMYK | cmyk(0%, 79%, 91%, 27%) | — | |
| HSV | hsv(8, 91%, 73%) | — | |
| HWB | hwb(8 7% 27%) | color: hwb(8 7% 27%) | |
| OKLCH | oklch(0.5167 0.186 31.62) | color: oklch(0.5167 0.186 31.62) | |
| Lab | lab(41.42 56.49 48.56) | color: lab(41.42 56.49 48.56) | |
| LCH | lch(41.42 74.49 40.68) | color: lch(41.42 74.49 40.68) |
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)
#7B7A17 — rgb(123, 122, 23)
Deuteranopia (Green-blind)
#848F18 — rgb(132, 143, 24)
Tritanopia (Blue-blind)
#B41B1C — rgb(180, 27, 28)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(8, 83%, 40%);
text
color: hsl(8, 83%, 40%);
border
border: 2px solid hsl(8, 83%, 40%);
gradient light
background: linear-gradient(to right, hsl(8, 83%, 60%), hsl(8, 83%, 40%));
gradient dark
background: linear-gradient(to right, hsl(8, 83%, 40%), hsl(8, 83%, 20%))
hex
background-color: #BB2811;
tailwind
bg-[hsl(8,83%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(8, 83%, 40%, 0.4);
css variable
--color-primary: hsl(8, 83%, 40%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(8, 83%, 40%)?
HEX: #BB2811 | RGB: rgb(187, 40, 17) | CMYK: 0%, 79%, 91%, 27% | HSV: 8°, 91%, 73%. Copy any format from the conversion table above.
What colors go well with #BB2811?
The complementary color is HSL(188, 83%, 40%). 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, 83%, 40%) in CSS?
As HSL: color: hsl(8, 83%, 40%); — As HEX: color: #BB2811; — As RGB: color: rgb(187, 40, 17); — Tailwind CSS: bg-[hsl(8,83%,40%)] — CSS variable: --color-primary: hsl(8, 83%, 40%);