HSL(357, 100%, 31%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(357,100%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(357, 100%, 31%) | color: hsl(357, 100%, 31%) | |
| HEX | #9E0008 | color: #9E0008 | |
| RGB | rgb(158, 0, 8) | color: rgb(158, 0, 8) | |
| CMYK | cmyk(0%, 100%, 95%, 38%) | — | |
| HSV | hsv(357, 100%, 62%) | — | |
| HWB | hwb(357 0% 38%) | color: hwb(357 0% 38%) | |
| OKLCH | oklch(0.4395 0.1796 27.96) | color: oklch(0.4395 0.1796 27.96) | |
| Lab | lab(32.46 56.11 43.2) | color: lab(32.46 56.11 43.2) | |
| LCH | lch(32.46 70.81 37.59) | color: lch(32.46 70.81 37.59) |
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)
#5A5806 — rgb(90, 88, 6)
Deuteranopia (Green-blind)
#636F06 — rgb(99, 111, 6)
Tritanopia (Blue-blind)
#960504 — rgb(150, 5, 4)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(357, 100%, 31%);
text
color: hsl(357, 100%, 31%);
border
border: 2px solid hsl(357, 100%, 31%);
gradient light
background: linear-gradient(to right, hsl(357, 100%, 51%), hsl(357, 100%, 31%));
gradient dark
background: linear-gradient(to right, hsl(357, 100%, 31%), hsl(357, 100%, 11%))
hex
background-color: #9E0008;
tailwind
bg-[hsl(357,100%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(357, 100%, 31%, 0.4);
css variable
--color-primary: hsl(357, 100%, 31%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(357, 100%, 31%)?
HEX: #9E0008 | RGB: rgb(158, 0, 8) | CMYK: 0%, 100%, 95%, 38% | HSV: 357°, 100%, 62%. Copy any format from the conversion table above.
What colors go well with #9E0008?
The complementary color is HSL(177, 100%, 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, 100%, 31%) in CSS?
As HSL: color: hsl(357, 100%, 31%); — As HEX: color: #9E0008; — As RGB: color: rgb(158, 0, 8); — Tailwind CSS: bg-[hsl(357,100%,31%)] — CSS variable: --color-primary: hsl(357, 100%, 31%);