HSL(12, 60%, 40%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(12,60%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 60%, 40%) | color: hsl(12, 60%, 40%) | |
| HEX | #A34129 | color: #A34129 | |
| RGB | rgb(163, 65, 41) | color: rgb(163, 65, 41) | |
| CMYK | cmyk(0%, 60%, 75%, 36%) | — | |
| HSV | hsv(12, 75%, 64%) | — | |
| HWB | hwb(12 16% 36%) | color: hwb(12 16% 36%) | |
| OKLCH | oklch(0.5043 0.1355 34.98) | color: oklch(0.5043 0.1355 34.98) | |
| Lab | lab(40.78 39.13 34.64) | color: lab(40.78 39.13 34.64) | |
| LCH | lch(40.78 52.26 41.52) | color: lch(40.78 52.26 41.52) |
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)
#79782F — rgb(121, 120, 47)
Deuteranopia (Green-blind)
#7E8630 — rgb(126, 134, 48)
Tritanopia (Blue-blind)
#9E3334 — rgb(158, 51, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 60%, 40%);
text
color: hsl(12, 60%, 40%);
border
border: 2px solid hsl(12, 60%, 40%);
gradient light
background: linear-gradient(to right, hsl(12, 60%, 60%), hsl(12, 60%, 40%));
gradient dark
background: linear-gradient(to right, hsl(12, 60%, 40%), hsl(12, 60%, 20%))
hex
background-color: #A34129;
tailwind
bg-[hsl(12,60%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 60%, 40%, 0.4);
css variable
--color-primary: hsl(12, 60%, 40%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(12, 60%, 40%)?
HEX: #A34129 | RGB: rgb(163, 65, 41) | CMYK: 0%, 60%, 75%, 36% | HSV: 12°, 75%, 64%. Copy any format from the conversion table above.
What colors go well with #A34129?
The complementary color is HSL(192, 60%, 40%). For a triadic harmony, use hues 12°, 132°, and 252°. For analogous combinations, try hues 342° and 42°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(12, 60%, 40%) in CSS?
As HSL: color: hsl(12, 60%, 40%); — As HEX: color: #A34129; — As RGB: color: rgb(163, 65, 41); — Tailwind CSS: bg-[hsl(12,60%,40%)] — CSS variable: --color-primary: hsl(12, 60%, 40%);