HSL(357, 95%, 31%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(357,95%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(357, 95%, 31%) | color: hsl(357, 95%, 31%) | |
| HEX | #9A040B | color: #9A040B | |
| RGB | rgb(154, 4, 11) | color: rgb(154, 4, 11) | |
| CMYK | cmyk(0%, 97%, 93%, 40%) | — | |
| HSV | hsv(357, 97%, 60%) | — | |
| HWB | hwb(357 2% 40%) | color: hwb(357 2% 40%) | |
| OKLCH | oklch(0.433 0.1746 27.76) | color: oklch(0.433 0.1746 27.76) | |
| Lab | lab(31.77 54.54 41.08) | color: lab(31.77 54.54 41.08) | |
| LCH | lch(31.77 68.28 36.99) | color: lch(31.77 68.28 36.99) |
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)
#595809 — rgb(89, 88, 9)
Deuteranopia (Green-blind)
#626D09 — rgb(98, 109, 9)
Tritanopia (Blue-blind)
#930808 — rgb(147, 8, 8)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(357, 95%, 31%);
text
color: hsl(357, 95%, 31%);
border
border: 2px solid hsl(357, 95%, 31%);
gradient light
background: linear-gradient(to right, hsl(357, 95%, 51%), hsl(357, 95%, 31%));
gradient dark
background: linear-gradient(to right, hsl(357, 95%, 31%), hsl(357, 95%, 11%))
hex
background-color: #9A040B;
tailwind
bg-[hsl(357,95%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(357, 95%, 31%, 0.4);
css variable
--color-primary: hsl(357, 95%, 31%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(357, 95%, 31%)?
HEX: #9A040B | RGB: rgb(154, 4, 11) | CMYK: 0%, 97%, 93%, 40% | HSV: 357°, 97%, 60%. Copy any format from the conversion table above.
What colors go well with #9A040B?
The complementary color is HSL(177, 95%, 31%). For a triadic harmony, use hues 357°, 117°, and 237°. For analogous combinations, try hues 327° and 27°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(357, 95%, 31%) in CSS?
As HSL: color: hsl(357, 95%, 31%); — As HEX: color: #9A040B; — As RGB: color: rgb(154, 4, 11); — Tailwind CSS: bg-[hsl(357,95%,31%)] — CSS variable: --color-primary: hsl(357, 95%, 31%);