HSL(8, 45%, 18%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(8,45%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(8, 45%, 18%) | color: hsl(8, 45%, 18%) | |
| HEX | #431F19 | color: #431F19 | |
| RGB | rgb(67, 31, 25) | color: rgb(67, 31, 25) | |
| CMYK | cmyk(0%, 54%, 63%, 74%) | — | |
| HSV | hsv(9, 63%, 26%) | — | |
| HWB | hwb(9 10% 74%) | color: hwb(9 10% 74%) | |
| OKLCH | oklch(0.2884 0.0571 30.75) | color: oklch(0.2884 0.0571 30.75) | |
| Lab | lab(16.72 16.65 11.96) | color: lab(16.72 16.65 11.96) | |
| LCH | lch(16.72 20.5 35.69) | color: lch(16.72 20.5 35.69) |
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)
#33331A — rgb(51, 51, 26)
Deuteranopia (Green-blind)
#36381B — rgb(54, 56, 27)
Tritanopia (Blue-blind)
#411C1C — rgb(65, 28, 28)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(8, 45%, 18%);
text
color: hsl(8, 45%, 18%);
border
border: 2px solid hsl(8, 45%, 18%);
gradient light
background: linear-gradient(to right, hsl(8, 45%, 38%), hsl(8, 45%, 18%));
gradient dark
background: linear-gradient(to right, hsl(8, 45%, 18%), hsl(8, 45%, 0%))
hex
background-color: #431F19;
tailwind
bg-[hsl(8,45%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(8, 45%, 18%, 0.4);
css variable
--color-primary: hsl(8, 45%, 18%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(8, 45%, 18%)?
HEX: #431F19 | RGB: rgb(67, 31, 25) | CMYK: 0%, 54%, 63%, 74% | HSV: 9°, 63%, 26%. Copy any format from the conversion table above.
What colors go well with #431F19?
The complementary color is HSL(188, 45%, 18%). For a triadic harmony, use hues 8°, 128°, and 248°. For analogous combinations, try hues 338° and 38°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(8, 45%, 18%) in CSS?
As HSL: color: hsl(8, 45%, 18%); — As HEX: color: #431F19; — As RGB: color: rgb(67, 31, 25); — Tailwind CSS: bg-[hsl(8,45%,18%)] — CSS variable: --color-primary: hsl(8, 45%, 18%);