HSL(9, 70%, 38%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(9,70%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(9, 70%, 38%) | color: hsl(9, 70%, 38%) | |
| HEX | #A5311D | color: #A5311D | |
| RGB | rgb(165, 49, 29) | color: rgb(165, 49, 29) | |
| CMYK | cmyk(0%, 70%, 82%, 35%) | — | |
| HSV | hsv(9, 82%, 65%) | — | |
| HWB | hwb(9 12% 35%) | color: hwb(9 12% 35%) | |
| OKLCH | oklch(0.4863 0.1555 32.24) | color: oklch(0.4863 0.1555 32.24) | |
| Lab | lab(38.35 46.54 38.74) | color: lab(38.35 46.54 38.74) | |
| LCH | lch(38.35 60.55 39.77) | color: lch(38.35 60.55 39.77) |
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)
#737222 — rgb(115, 114, 34)
Deuteranopia (Green-blind)
#7A8223 — rgb(122, 130, 35)
Tritanopia (Blue-blind)
#9F2627 — rgb(159, 38, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(9, 70%, 38%);
text
color: hsl(9, 70%, 38%);
border
border: 2px solid hsl(9, 70%, 38%);
gradient light
background: linear-gradient(to right, hsl(9, 70%, 58%), hsl(9, 70%, 38%));
gradient dark
background: linear-gradient(to right, hsl(9, 70%, 38%), hsl(9, 70%, 18%))
hex
background-color: #A5311D;
tailwind
bg-[hsl(9,70%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(9, 70%, 38%, 0.4);
css variable
--color-primary: hsl(9, 70%, 38%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(9, 70%, 38%)?
HEX: #A5311D | RGB: rgb(165, 49, 29) | CMYK: 0%, 70%, 82%, 35% | HSV: 9°, 82%, 65%. Copy any format from the conversion table above.
What colors go well with #A5311D?
The complementary color is HSL(189, 70%, 38%). 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%, 38%) in CSS?
As HSL: color: hsl(9, 70%, 38%); — As HEX: color: #A5311D; — As RGB: color: rgb(165, 49, 29); — Tailwind CSS: bg-[hsl(9,70%,38%)] — CSS variable: --color-primary: hsl(9, 70%, 38%);