HSL(9, 29%, 15%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(9,29%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(9, 29%, 15%) | color: hsl(9, 29%, 15%) | |
| HEX | #311E1B | color: #311E1B | |
| RGB | rgb(49, 30, 27) | color: rgb(49, 30, 27) | |
| CMYK | cmyk(0%, 39%, 45%, 81%) | — | |
| HSV | hsv(8, 45%, 19%) | — | |
| HWB | hwb(8 10% 81%) | color: hwb(8 10% 81%) | |
| OKLCH | oklch(0.2585 0.0306 29.23) | color: oklch(0.2585 0.0306 29.23) | |
| Lab | lab(13.6 8.81 5.84) | color: lab(13.6 8.81 5.84) | |
| LCH | lch(13.6 10.57 33.54) | color: lch(13.6 10.57 33.54) |
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)
#29291C — rgb(41, 41, 28)
Deuteranopia (Green-blind)
#2A2B1C — rgb(42, 43, 28)
Tritanopia (Blue-blind)
#301C1C — rgb(48, 28, 28)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(9, 29%, 15%);
text
color: hsl(9, 29%, 15%);
border
border: 2px solid hsl(9, 29%, 15%);
gradient light
background: linear-gradient(to right, hsl(9, 29%, 35%), hsl(9, 29%, 15%));
gradient dark
background: linear-gradient(to right, hsl(9, 29%, 15%), hsl(9, 29%, 0%))
hex
background-color: #311E1B;
tailwind
bg-[hsl(9,29%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(9, 29%, 15%, 0.4);
css variable
--color-primary: hsl(9, 29%, 15%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(9, 29%, 15%)?
HEX: #311E1B | RGB: rgb(49, 30, 27) | CMYK: 0%, 39%, 45%, 81% | HSV: 8°, 45%, 19%. Copy any format from the conversion table above.
What colors go well with #311E1B?
The complementary color is HSL(189, 29%, 15%). 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, 29%, 15%) in CSS?
As HSL: color: hsl(9, 29%, 15%); — As HEX: color: #311E1B; — As RGB: color: rgb(49, 30, 27); — Tailwind CSS: bg-[hsl(9,29%,15%)] — CSS variable: --color-primary: hsl(9, 29%, 15%);