HSL(12, 80%, 34%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(12,80%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 80%, 34%) | color: hsl(12, 80%, 34%) | |
| HEX | #9C2D11 | color: #9C2D11 | |
| RGB | rgb(156, 45, 17) | color: rgb(156, 45, 17) | |
| CMYK | cmyk(0%, 71%, 89%, 39%) | — | |
| HSV | hsv(12, 89%, 61%) | — | |
| HWB | hwb(12 7% 39%) | color: hwb(12 7% 39%) | |
| OKLCH | oklch(0.465 0.1515 34.57) | color: oklch(0.465 0.1515 34.57) | |
| Lab | lab(35.96 44.74 41.77) | color: lab(35.96 44.74 41.77) | |
| LCH | lch(35.96 61.21 43.03) | color: lch(35.96 61.21 43.03) |
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)
#6C6B18 — rgb(108, 107, 24)
Deuteranopia (Green-blind)
#727B19 — rgb(114, 123, 25)
Tritanopia (Blue-blind)
#961D1E — rgb(150, 29, 30)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 80%, 34%);
text
color: hsl(12, 80%, 34%);
border
border: 2px solid hsl(12, 80%, 34%);
gradient light
background: linear-gradient(to right, hsl(12, 80%, 54%), hsl(12, 80%, 34%));
gradient dark
background: linear-gradient(to right, hsl(12, 80%, 34%), hsl(12, 80%, 14%))
hex
background-color: #9C2D11;
tailwind
bg-[hsl(12,80%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 80%, 34%, 0.4);
css variable
--color-primary: hsl(12, 80%, 34%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(12, 80%, 34%)?
HEX: #9C2D11 | RGB: rgb(156, 45, 17) | CMYK: 0%, 71%, 89%, 39% | HSV: 12°, 89%, 61%. Copy any format from the conversion table above.
What colors go well with #9C2D11?
The complementary color is HSL(192, 80%, 34%). 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, 80%, 34%) in CSS?
As HSL: color: hsl(12, 80%, 34%); — As HEX: color: #9C2D11; — As RGB: color: rgb(156, 45, 17); — Tailwind CSS: bg-[hsl(12,80%,34%)] — CSS variable: --color-primary: hsl(12, 80%, 34%);