HSL(3, 50%, 21%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(3,50%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(3, 50%, 21%) | color: hsl(3, 50%, 21%) | |
| HEX | #501D1B | color: #501D1B | |
| RGB | rgb(80, 29, 27) | color: rgb(80, 29, 27) | |
| CMYK | cmyk(0%, 64%, 66%, 69%) | — | |
| HSV | hsv(2, 66%, 31%) | — | |
| HWB | hwb(2 11% 69%) | color: hwb(2 11% 69%) | |
| OKLCH | oklch(0.3078 0.0774 24.93) | color: oklch(0.3078 0.0774 24.93) | |
| Lab | lab(18.64 23.8 13.52) | color: lab(18.64 23.8 13.52) | |
| LCH | lch(18.64 27.37 29.6) | color: lch(18.64 27.37 29.6) |
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)
#3A391B — rgb(58, 57, 27)
Deuteranopia (Green-blind)
#3D411C — rgb(61, 65, 28)
Tritanopia (Blue-blind)
#4D1C1C — rgb(77, 28, 28)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(3, 50%, 21%);
text
color: hsl(3, 50%, 21%);
border
border: 2px solid hsl(3, 50%, 21%);
gradient light
background: linear-gradient(to right, hsl(3, 50%, 41%), hsl(3, 50%, 21%));
gradient dark
background: linear-gradient(to right, hsl(3, 50%, 21%), hsl(3, 50%, 1%))
hex
background-color: #501D1B;
tailwind
bg-[hsl(3,50%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(3, 50%, 21%, 0.4);
css variable
--color-primary: hsl(3, 50%, 21%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(3, 50%, 21%)?
HEX: #501D1B | RGB: rgb(80, 29, 27) | CMYK: 0%, 64%, 66%, 69% | HSV: 2°, 66%, 31%. Copy any format from the conversion table above.
What colors go well with #501D1B?
The complementary color is HSL(183, 50%, 21%). For a triadic harmony, use hues 3°, 123°, and 243°. For analogous combinations, try hues 333° and 33°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(3, 50%, 21%) in CSS?
As HSL: color: hsl(3, 50%, 21%); — As HEX: color: #501D1B; — As RGB: color: rgb(80, 29, 27); — Tailwind CSS: bg-[hsl(3,50%,21%)] — CSS variable: --color-primary: hsl(3, 50%, 21%);