HSL(7, 58%, 31%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(7,58%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 58%, 31%) | color: hsl(7, 58%, 31%) | |
| HEX | #7D2C21 | color: #7D2C21 | |
| RGB | rgb(125, 44, 33) | color: rgb(125, 44, 33) | |
| CMYK | cmyk(0%, 65%, 74%, 51%) | — | |
| HSV | hsv(7, 74%, 49%) | — | |
| HWB | hwb(7 13% 51%) | color: hwb(7 13% 51%) | |
| OKLCH | oklch(0.4105 0.115 30.41) | color: oklch(0.4105 0.115 30.41) | |
| Lab | lab(30.09 34.46 25.47) | color: lab(30.09 34.46 25.47) | |
| LCH | lch(30.09 42.85 36.47) | color: lch(30.09 42.85 36.47) |
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)
#5A5924 — rgb(90, 89, 36)
Deuteranopia (Green-blind)
#5F6524 — rgb(95, 101, 36)
Tritanopia (Blue-blind)
#792626 — rgb(121, 38, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 58%, 31%);
text
color: hsl(7, 58%, 31%);
border
border: 2px solid hsl(7, 58%, 31%);
gradient light
background: linear-gradient(to right, hsl(7, 58%, 51%), hsl(7, 58%, 31%));
gradient dark
background: linear-gradient(to right, hsl(7, 58%, 31%), hsl(7, 58%, 11%))
hex
background-color: #7D2C21;
tailwind
bg-[hsl(7,58%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 58%, 31%, 0.4);
css variable
--color-primary: hsl(7, 58%, 31%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(7, 58%, 31%)?
HEX: #7D2C21 | RGB: rgb(125, 44, 33) | CMYK: 0%, 65%, 74%, 51% | HSV: 7°, 74%, 49%. Copy any format from the conversion table above.
What colors go well with #7D2C21?
The complementary color is HSL(187, 58%, 31%). For a triadic harmony, use hues 7°, 127°, and 247°. For analogous combinations, try hues 337° and 37°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(7, 58%, 31%) in CSS?
As HSL: color: hsl(7, 58%, 31%); — As HEX: color: #7D2C21; — As RGB: color: rgb(125, 44, 33); — Tailwind CSS: bg-[hsl(7,58%,31%)] — CSS variable: --color-primary: hsl(7, 58%, 31%);