HSL(5, 30%, 42%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(5,30%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(5, 30%, 42%) | color: hsl(5, 30%, 42%) | |
| HEX | #8B504B | color: #8B504B | |
| RGB | rgb(139, 80, 75) | color: rgb(139, 80, 75) | |
| CMYK | cmyk(0%, 42%, 46%, 45%) | — | |
| HSV | hsv(5, 46%, 55%) | — | |
| HWB | hwb(5 30% 45%) | color: hwb(5 30% 45%) | |
| OKLCH | oklch(0.4988 0.0802 25.49) | color: oklch(0.4988 0.0802 25.49) | |
| Lab | lab(40.79 24.12 13.66) | color: lab(40.79 24.12 13.66) | |
| LCH | lch(40.79 27.72 29.52) | color: lch(40.79 27.72 29.52) |
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)
#71714C — rgb(113, 113, 76)
Deuteranopia (Green-blind)
#75794D — rgb(117, 121, 77)
Tritanopia (Blue-blind)
#884D4D — rgb(136, 77, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(5, 30%, 42%);
text
color: hsl(5, 30%, 42%);
border
border: 2px solid hsl(5, 30%, 42%);
gradient light
background: linear-gradient(to right, hsl(5, 30%, 62%), hsl(5, 30%, 42%));
gradient dark
background: linear-gradient(to right, hsl(5, 30%, 42%), hsl(5, 30%, 22%))
hex
background-color: #8B504B;
tailwind
bg-[hsl(5,30%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(5, 30%, 42%, 0.4);
css variable
--color-primary: hsl(5, 30%, 42%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(5, 30%, 42%)?
HEX: #8B504B | RGB: rgb(139, 80, 75) | CMYK: 0%, 42%, 46%, 45% | HSV: 5°, 46%, 55%. Copy any format from the conversion table above.
What colors go well with #8B504B?
The complementary color is HSL(185, 30%, 42%). 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, 30%, 42%) in CSS?
As HSL: color: hsl(5, 30%, 42%); — As HEX: color: #8B504B; — As RGB: color: rgb(139, 80, 75); — Tailwind CSS: bg-[hsl(5,30%,42%)] — CSS variable: --color-primary: hsl(5, 30%, 42%);