HSL(2, 78%, 40%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,78%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 78%, 40%) | color: hsl(2, 78%, 40%) | |
| HEX | #B61C16 | color: #B61C16 | |
| RGB | rgb(182, 28, 22) | color: rgb(182, 28, 22) | |
| CMYK | cmyk(0%, 85%, 88%, 29%) | — | |
| HSV | hsv(2, 88%, 71%) | — | |
| HWB | hwb(2 9% 29%) | color: hwb(2 9% 29%) | |
| OKLCH | oklch(0.4993 0.1884 28.75) | color: oklch(0.4993 0.1884 28.75) | |
| Lab | lab(39.3 58.29 44.35) | color: lab(39.3 58.29 44.35) | |
| LCH | lch(39.3 73.24 37.27) | color: lch(39.3 73.24 37.27) |
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)
#737217 — rgb(115, 114, 23)
Deuteranopia (Green-blind)
#7C8818 — rgb(124, 136, 24)
Tritanopia (Blue-blind)
#AE1919 — rgb(174, 25, 25)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 78%, 40%);
text
color: hsl(2, 78%, 40%);
border
border: 2px solid hsl(2, 78%, 40%);
gradient light
background: linear-gradient(to right, hsl(2, 78%, 60%), hsl(2, 78%, 40%));
gradient dark
background: linear-gradient(to right, hsl(2, 78%, 40%), hsl(2, 78%, 20%))
hex
background-color: #B61C16;
tailwind
bg-[hsl(2,78%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 78%, 40%, 0.4);
css variable
--color-primary: hsl(2, 78%, 40%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 78%, 40%)?
HEX: #B61C16 | RGB: rgb(182, 28, 22) | CMYK: 0%, 85%, 88%, 29% | HSV: 2°, 88%, 71%. Copy any format from the conversion table above.
What colors go well with #B61C16?
The complementary color is HSL(182, 78%, 40%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 78%, 40%) in CSS?
As HSL: color: hsl(2, 78%, 40%); — As HEX: color: #B61C16; — As RGB: color: rgb(182, 28, 22); — Tailwind CSS: bg-[hsl(2,78%,40%)] — CSS variable: --color-primary: hsl(2, 78%, 40%);