HSL(351, 92%, 31%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(351,92%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(351, 92%, 31%) | color: hsl(351, 92%, 31%) | |
| HEX | #98061C | color: #98061C | |
| RGB | rgb(152, 6, 28) | color: rgb(152, 6, 28) | |
| CMYK | cmyk(0%, 96%, 82%, 40%) | — | |
| HSV | hsv(351, 96%, 60%) | — | |
| HWB | hwb(351 2% 40%) | color: hwb(351 2% 40%) | |
| OKLCH | oklch(0.4311 0.1708 23.58) | color: oklch(0.4311 0.1708 23.58) | |
| Lab | lab(31.56 54.1 31.7) | color: lab(31.56 54.1 31.7) | |
| LCH | lch(31.56 62.7 30.37) | color: lch(31.56 62.7 30.37) |
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)
#595717 — rgb(89, 87, 23)
Deuteranopia (Green-blind)
#616C15 — rgb(97, 108, 21)
Tritanopia (Blue-blind)
#911212 — rgb(145, 18, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(351, 92%, 31%);
text
color: hsl(351, 92%, 31%);
border
border: 2px solid hsl(351, 92%, 31%);
gradient light
background: linear-gradient(to right, hsl(351, 92%, 51%), hsl(351, 92%, 31%));
gradient dark
background: linear-gradient(to right, hsl(351, 92%, 31%), hsl(351, 92%, 11%))
hex
background-color: #98061C;
tailwind
bg-[hsl(351,92%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(351, 92%, 31%, 0.4);
css variable
--color-primary: hsl(351, 92%, 31%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(351, 92%, 31%)?
HEX: #98061C | RGB: rgb(152, 6, 28) | CMYK: 0%, 96%, 82%, 40% | HSV: 351°, 96%, 60%. Copy any format from the conversion table above.
What colors go well with #98061C?
The complementary color is HSL(171, 92%, 31%). For a triadic harmony, use hues 351°, 111°, and 231°. For analogous combinations, try hues 321° and 21°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(351, 92%, 31%) in CSS?
As HSL: color: hsl(351, 92%, 31%); — As HEX: color: #98061C; — As RGB: color: rgb(152, 6, 28); — Tailwind CSS: bg-[hsl(351,92%,31%)] — CSS variable: --color-primary: hsl(351, 92%, 31%);