HSL(12, 20%, 57%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(12,20%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 20%, 57%) | color: hsl(12, 20%, 57%) | |
| HEX | #A7847B | color: #A7847B | |
| RGB | rgb(167, 132, 123) | color: rgb(167, 132, 123) | |
| CMYK | cmyk(0%, 21%, 26%, 35%) | — | |
| HSV | hsv(12, 26%, 65%) | — | |
| HWB | hwb(12 48% 35%) | color: hwb(12 48% 35%) | |
| OKLCH | oklch(0.644 0.0454 34.82) | color: oklch(0.644 0.0454 34.82) | |
| Lab | lab(58.18 12.02 9.97) | color: lab(58.18 12.02 9.97) | |
| LCH | lch(58.18 15.62 39.67) | color: lch(58.18 15.62 39.67) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#98987D — rgb(152, 152, 125)
Deuteranopia (Green-blind)
#9A9D7E — rgb(154, 157, 126)
Tritanopia (Blue-blind)
#A57F7F — rgb(165, 127, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 20%, 57%);
text
color: hsl(12, 20%, 57%);
border
border: 2px solid hsl(12, 20%, 57%);
gradient light
background: linear-gradient(to right, hsl(12, 20%, 77%), hsl(12, 20%, 57%));
gradient dark
background: linear-gradient(to right, hsl(12, 20%, 57%), hsl(12, 20%, 37%))
hex
background-color: #A7847B;
tailwind
bg-[hsl(12,20%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 20%, 57%, 0.4);
css variable
--color-primary: hsl(12, 20%, 57%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(12, 20%, 57%)?
HEX: #A7847B | RGB: rgb(167, 132, 123) | CMYK: 0%, 21%, 26%, 35% | HSV: 12°, 26%, 65%. Copy any format from the conversion table above.
What colors go well with #A7847B?
The complementary color is HSL(192, 20%, 57%). 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, 20%, 57%) in CSS?
As HSL: color: hsl(12, 20%, 57%); — As HEX: color: #A7847B; — As RGB: color: rgb(167, 132, 123); — Tailwind CSS: bg-[hsl(12,20%,57%)] — CSS variable: --color-primary: hsl(12, 20%, 57%);