HSL(5, 62%, 40%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(5,62%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(5, 62%, 40%) | color: hsl(5, 62%, 40%) | |
| HEX | #A53127 | color: #A53127 | |
| RGB | rgb(165, 49, 39) | color: rgb(165, 49, 39) | |
| CMYK | cmyk(0%, 70%, 76%, 35%) | — | |
| HSV | hsv(5, 76%, 65%) | — | |
| HWB | hwb(5 16% 35%) | color: hwb(5 16% 35%) | |
| OKLCH | oklch(0.4874 0.1537 28.88) | color: oklch(0.4874 0.1537 28.88) | |
| Lab | lab(38.45 46.9 33.34) | color: lab(38.45 46.9 33.34) | |
| LCH | lch(38.45 57.54 35.41) | color: lch(38.45 57.54 35.41) |
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)
#737229 — rgb(115, 114, 41)
Deuteranopia (Green-blind)
#7A822A — rgb(122, 130, 42)
Tritanopia (Blue-blind)
#9F2B2C — rgb(159, 43, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(5, 62%, 40%);
text
color: hsl(5, 62%, 40%);
border
border: 2px solid hsl(5, 62%, 40%);
gradient light
background: linear-gradient(to right, hsl(5, 62%, 60%), hsl(5, 62%, 40%));
gradient dark
background: linear-gradient(to right, hsl(5, 62%, 40%), hsl(5, 62%, 20%))
hex
background-color: #A53127;
tailwind
bg-[hsl(5,62%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(5, 62%, 40%, 0.4);
css variable
--color-primary: hsl(5, 62%, 40%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(5, 62%, 40%)?
HEX: #A53127 | RGB: rgb(165, 49, 39) | CMYK: 0%, 70%, 76%, 35% | HSV: 5°, 76%, 65%. Copy any format from the conversion table above.
What colors go well with #A53127?
The complementary color is HSL(185, 62%, 40%). For a triadic harmony, use hues 5°, 125°, and 245°. For analogous combinations, try hues 335° and 35°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(5, 62%, 40%) in CSS?
As HSL: color: hsl(5, 62%, 40%); — As HEX: color: #A53127; — As RGB: color: rgb(165, 49, 39); — Tailwind CSS: bg-[hsl(5,62%,40%)] — CSS variable: --color-primary: hsl(5, 62%, 40%);