HSL(2, 72%, 41%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,72%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 72%, 41%) | color: hsl(2, 72%, 41%) | |
| HEX | #B4221D | color: #B4221D | |
| RGB | rgb(180, 34, 29) | color: rgb(180, 34, 29) | |
| CMYK | cmyk(0%, 81%, 84%, 29%) | — | |
| HSV | hsv(2, 84%, 71%) | — | |
| HWB | hwb(2 11% 29%) | color: hwb(2 11% 29%) | |
| OKLCH | oklch(0.5 0.1821 28.18) | color: oklch(0.5 0.1821 28.18) | |
| Lab | lab(39.48 56.36 40.84) | color: lab(39.48 56.36 40.84) | |
| LCH | lch(39.48 69.6 35.93) | color: lch(39.48 69.6 35.93) |
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)
#75731E — rgb(117, 115, 30)
Deuteranopia (Green-blind)
#7D881F — rgb(125, 136, 31)
Tritanopia (Blue-blind)
#AD1F1F — rgb(173, 31, 31)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 72%, 41%);
text
color: hsl(2, 72%, 41%);
border
border: 2px solid hsl(2, 72%, 41%);
gradient light
background: linear-gradient(to right, hsl(2, 72%, 61%), hsl(2, 72%, 41%));
gradient dark
background: linear-gradient(to right, hsl(2, 72%, 41%), hsl(2, 72%, 21%))
hex
background-color: #B4221D;
tailwind
bg-[hsl(2,72%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 72%, 41%, 0.4);
css variable
--color-primary: hsl(2, 72%, 41%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 72%, 41%)?
HEX: #B4221D | RGB: rgb(180, 34, 29) | CMYK: 0%, 81%, 84%, 29% | HSV: 2°, 84%, 71%. Copy any format from the conversion table above.
What colors go well with #B4221D?
The complementary color is HSL(182, 72%, 41%). 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, 72%, 41%) in CSS?
As HSL: color: hsl(2, 72%, 41%); — As HEX: color: #B4221D; — As RGB: color: rgb(180, 34, 29); — Tailwind CSS: bg-[hsl(2,72%,41%)] — CSS variable: --color-primary: hsl(2, 72%, 41%);