HSL(9, 70%, 40%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(9,70%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(9, 70%, 40%) | color: hsl(9, 70%, 40%) | |
| HEX | #AD341F | color: #AD341F | |
| RGB | rgb(173, 52, 31) | color: rgb(173, 52, 31) | |
| CMYK | cmyk(0%, 70%, 82%, 32%) | — | |
| HSV | hsv(9, 82%, 68%) | — | |
| HWB | hwb(9 12% 32%) | color: hwb(9 12% 32%) | |
| OKLCH | oklch(0.5039 0.1608 32.28) | color: oklch(0.5039 0.1608 32.28) | |
| Lab | lab(40.32 48.13 40.1) | color: lab(40.32 48.13 40.1) | |
| LCH | lch(40.32 62.65 39.8) | color: lch(40.32 62.65 39.8) |
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)
#797824 — rgb(121, 120, 36)
Deuteranopia (Green-blind)
#808925 — rgb(128, 137, 37)
Tritanopia (Blue-blind)
#A72829 — rgb(167, 40, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(9, 70%, 40%);
text
color: hsl(9, 70%, 40%);
border
border: 2px solid hsl(9, 70%, 40%);
gradient light
background: linear-gradient(to right, hsl(9, 70%, 60%), hsl(9, 70%, 40%));
gradient dark
background: linear-gradient(to right, hsl(9, 70%, 40%), hsl(9, 70%, 20%))
hex
background-color: #AD341F;
tailwind
bg-[hsl(9,70%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(9, 70%, 40%, 0.4);
css variable
--color-primary: hsl(9, 70%, 40%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(9, 70%, 40%)?
HEX: #AD341F | RGB: rgb(173, 52, 31) | CMYK: 0%, 70%, 82%, 32% | HSV: 9°, 82%, 68%. Copy any format from the conversion table above.
What colors go well with #AD341F?
The complementary color is HSL(189, 70%, 40%). 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, 70%, 40%) in CSS?
As HSL: color: hsl(9, 70%, 40%); — As HEX: color: #AD341F; — As RGB: color: rgb(173, 52, 31); — Tailwind CSS: bg-[hsl(9,70%,40%)] — CSS variable: --color-primary: hsl(9, 70%, 40%);