HSL(7, 75%, 34%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(7,75%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 75%, 34%) | color: hsl(7, 75%, 34%) | |
| HEX | #982516 | color: #982516 | |
| RGB | rgb(152, 37, 22) | color: rgb(152, 37, 22) | |
| CMYK | cmyk(0%, 76%, 86%, 40%) | — | |
| HSV | hsv(7, 86%, 60%) | — | |
| HWB | hwb(7 8% 40%) | color: hwb(7 8% 40%) | |
| OKLCH | oklch(0.4498 0.1534 30.94) | color: oklch(0.4498 0.1534 30.94) | |
| Lab | lab(34.1 46.55 37.5) | color: lab(34.1 46.55 37.5) | |
| LCH | lch(34.1 59.78 38.85) | color: lch(34.1 59.78 38.85) |
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)
#66651A — rgb(102, 101, 26)
Deuteranopia (Green-blind)
#6D761B — rgb(109, 118, 27)
Tritanopia (Blue-blind)
#921C1D — rgb(146, 28, 29)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 75%, 34%);
text
color: hsl(7, 75%, 34%);
border
border: 2px solid hsl(7, 75%, 34%);
gradient light
background: linear-gradient(to right, hsl(7, 75%, 54%), hsl(7, 75%, 34%));
gradient dark
background: linear-gradient(to right, hsl(7, 75%, 34%), hsl(7, 75%, 14%))
hex
background-color: #982516;
tailwind
bg-[hsl(7,75%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 75%, 34%, 0.4);
css variable
--color-primary: hsl(7, 75%, 34%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(7, 75%, 34%)?
HEX: #982516 | RGB: rgb(152, 37, 22) | CMYK: 0%, 76%, 86%, 40% | HSV: 7°, 86%, 60%. Copy any format from the conversion table above.
What colors go well with #982516?
The complementary color is HSL(187, 75%, 34%). 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, 75%, 34%) in CSS?
As HSL: color: hsl(7, 75%, 34%); — As HEX: color: #982516; — As RGB: color: rgb(152, 37, 22); — Tailwind CSS: bg-[hsl(7,75%,34%)] — CSS variable: --color-primary: hsl(7, 75%, 34%);