HSL(3, 40%, 45%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(3,40%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(3, 40%, 45%) | color: hsl(3, 40%, 45%) | |
| HEX | #A14945 | color: #A14945 | |
| RGB | rgb(161, 73, 69) | color: rgb(161, 73, 69) | |
| CMYK | cmyk(0%, 55%, 57%, 37%) | — | |
| HSV | hsv(3, 57%, 63%) | — | |
| HWB | hwb(3 27% 37%) | color: hwb(3 27% 37%) | |
| OKLCH | oklch(0.5175 0.1179 24.66) | color: oklch(0.5175 0.1179 24.66) | |
| Lab | lab(42.42 36.15 20.08) | color: lab(42.42 36.15 20.08) | |
| LCH | lch(42.42 41.35 29.05) | color: lch(42.42 41.35 29.05) |
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)
#7B7A46 — rgb(123, 122, 70)
Deuteranopia (Green-blind)
#808746 — rgb(128, 135, 70)
Tritanopia (Blue-blind)
#9D4747 — rgb(157, 71, 71)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(3, 40%, 45%);
text
color: hsl(3, 40%, 45%);
border
border: 2px solid hsl(3, 40%, 45%);
gradient light
background: linear-gradient(to right, hsl(3, 40%, 65%), hsl(3, 40%, 45%));
gradient dark
background: linear-gradient(to right, hsl(3, 40%, 45%), hsl(3, 40%, 25%))
hex
background-color: #A14945;
tailwind
bg-[hsl(3,40%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(3, 40%, 45%, 0.4);
css variable
--color-primary: hsl(3, 40%, 45%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(3, 40%, 45%)?
HEX: #A14945 | RGB: rgb(161, 73, 69) | CMYK: 0%, 55%, 57%, 37% | HSV: 3°, 57%, 63%. Copy any format from the conversion table above.
What colors go well with #A14945?
The complementary color is HSL(183, 40%, 45%). For a triadic harmony, use hues 3°, 123°, and 243°. For analogous combinations, try hues 333° and 33°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(3, 40%, 45%) in CSS?
As HSL: color: hsl(3, 40%, 45%); — As HEX: color: #A14945; — As RGB: color: rgb(161, 73, 69); — Tailwind CSS: bg-[hsl(3,40%,45%)] — CSS variable: --color-primary: hsl(3, 40%, 45%);