HSL(9, 90%, 27%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(9,90%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(9, 90%, 27%) | color: hsl(9, 90%, 27%) | |
| HEX | #831907 | color: #831907 | |
| RGB | rgb(131, 25, 7) | color: rgb(131, 25, 7) | |
| CMYK | cmyk(0%, 81%, 95%, 49%) | — | |
| HSV | hsv(9, 95%, 51%) | — | |
| HWB | hwb(9 3% 49%) | color: hwb(9 3% 49%) | |
| OKLCH | oklch(0.3978 0.1434 31.97) | color: oklch(0.3978 0.1434 31.97) | |
| Lab | lab(28.21 43.46 37.82) | color: lab(28.21 43.46 37.82) | |
| LCH | lch(28.21 57.61 41.03) | color: lch(28.21 57.61 41.03) |
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)
#55540B — rgb(85, 84, 11)
Deuteranopia (Green-blind)
#5B630C — rgb(91, 99, 12)
Tritanopia (Blue-blind)
#7E0F10 — rgb(126, 15, 16)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(9, 90%, 27%);
text
color: hsl(9, 90%, 27%);
border
border: 2px solid hsl(9, 90%, 27%);
gradient light
background: linear-gradient(to right, hsl(9, 90%, 47%), hsl(9, 90%, 27%));
gradient dark
background: linear-gradient(to right, hsl(9, 90%, 27%), hsl(9, 90%, 7%))
hex
background-color: #831907;
tailwind
bg-[hsl(9,90%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(9, 90%, 27%, 0.4);
css variable
--color-primary: hsl(9, 90%, 27%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(9, 90%, 27%)?
HEX: #831907 | RGB: rgb(131, 25, 7) | CMYK: 0%, 81%, 95%, 49% | HSV: 9°, 95%, 51%. Copy any format from the conversion table above.
What colors go well with #831907?
The complementary color is HSL(189, 90%, 27%). For a triadic harmony, use hues 9°, 129°, and 249°. For analogous combinations, try hues 339° and 39°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(9, 90%, 27%) in CSS?
As HSL: color: hsl(9, 90%, 27%); — As HEX: color: #831907; — As RGB: color: rgb(131, 25, 7); — Tailwind CSS: bg-[hsl(9,90%,27%)] — CSS variable: --color-primary: hsl(9, 90%, 27%);