HSL(3, 50%, 20%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(3,50%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(3, 50%, 20%) | color: hsl(3, 50%, 20%) | |
| HEX | #4D1C1A | color: #4D1C1A | |
| RGB | rgb(77, 28, 26) | color: rgb(77, 28, 26) | |
| CMYK | cmyk(0%, 64%, 66%, 70%) | — | |
| HSV | hsv(2, 66%, 30%) | — | |
| HWB | hwb(2 10% 70%) | color: hwb(2 10% 70%) | |
| OKLCH | oklch(0.3006 0.0748 24.95) | color: oklch(0.3006 0.0748 24.95) | |
| Lab | lab(17.84 23.01 13.07) | color: lab(17.84 23.01 13.07) | |
| LCH | lch(17.84 26.46 29.6) | color: lch(17.84 26.46 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)
#38371A — rgb(56, 55, 26)
Deuteranopia (Green-blind)
#3B3E1B — rgb(59, 62, 27)
Tritanopia (Blue-blind)
#4B1B1B — rgb(75, 27, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(3, 50%, 20%);
text
color: hsl(3, 50%, 20%);
border
border: 2px solid hsl(3, 50%, 20%);
gradient light
background: linear-gradient(to right, hsl(3, 50%, 40%), hsl(3, 50%, 20%));
gradient dark
background: linear-gradient(to right, hsl(3, 50%, 20%), hsl(3, 50%, 0%))
hex
background-color: #4D1C1A;
tailwind
bg-[hsl(3,50%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(3, 50%, 20%, 0.4);
css variable
--color-primary: hsl(3, 50%, 20%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(3, 50%, 20%)?
HEX: #4D1C1A | RGB: rgb(77, 28, 26) | CMYK: 0%, 64%, 66%, 70% | HSV: 2°, 66%, 30%. Copy any format from the conversion table above.
What colors go well with #4D1C1A?
The complementary color is HSL(183, 50%, 20%). 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%, 20%) in CSS?
As HSL: color: hsl(3, 50%, 20%); — As HEX: color: #4D1C1A; — As RGB: color: rgb(77, 28, 26); — Tailwind CSS: bg-[hsl(3,50%,20%)] — CSS variable: --color-primary: hsl(3, 50%, 20%);