HSL(4, 72%, 41%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(4,72%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(4, 72%, 41%) | color: hsl(4, 72%, 41%) | |
| HEX | #B4271D | color: #B4271D | |
| RGB | rgb(180, 39, 29) | color: rgb(180, 39, 29) | |
| CMYK | cmyk(0%, 78%, 84%, 29%) | — | |
| HSV | hsv(4, 84%, 71%) | — | |
| HWB | hwb(4 11% 29%) | color: hwb(4 11% 29%) | |
| OKLCH | oklch(0.5038 0.1787 29.17) | color: oklch(0.5038 0.1787 29.17) | |
| Lab | lab(39.99 54.92 41.32) | color: lab(39.99 54.92 41.32) | |
| LCH | lch(39.99 68.73 36.96) | color: lch(39.99 68.73 36.96) |
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)
#77761F — rgb(119, 118, 31)
Deuteranopia (Green-blind)
#7F8A20 — rgb(127, 138, 32)
Tritanopia (Blue-blind)
#AD2122 — rgb(173, 33, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(4, 72%, 41%);
text
color: hsl(4, 72%, 41%);
border
border: 2px solid hsl(4, 72%, 41%);
gradient light
background: linear-gradient(to right, hsl(4, 72%, 61%), hsl(4, 72%, 41%));
gradient dark
background: linear-gradient(to right, hsl(4, 72%, 41%), hsl(4, 72%, 21%))
hex
background-color: #B4271D;
tailwind
bg-[hsl(4,72%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(4, 72%, 41%, 0.4);
css variable
--color-primary: hsl(4, 72%, 41%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(4, 72%, 41%)?
HEX: #B4271D | RGB: rgb(180, 39, 29) | CMYK: 0%, 78%, 84%, 29% | HSV: 4°, 84%, 71%. Copy any format from the conversion table above.
What colors go well with #B4271D?
The complementary color is HSL(184, 72%, 41%). For a triadic harmony, use hues 4°, 124°, and 244°. For analogous combinations, try hues 334° and 34°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(4, 72%, 41%) in CSS?
As HSL: color: hsl(4, 72%, 41%); — As HEX: color: #B4271D; — As RGB: color: rgb(180, 39, 29); — Tailwind CSS: bg-[hsl(4,72%,41%)] — CSS variable: --color-primary: hsl(4, 72%, 41%);