HSL(7, 20%, 54%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(7,20%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 20%, 54%) | color: hsl(7, 20%, 54%) | |
| HEX | #A17872 | color: #A17872 | |
| RGB | rgb(161, 120, 114) | color: rgb(161, 120, 114) | |
| CMYK | cmyk(0%, 25%, 29%, 37%) | — | |
| HSV | hsv(8, 29%, 63%) | — | |
| HWB | hwb(8 45% 37%) | color: hwb(8 45% 37%) | |
| OKLCH | oklch(0.6115 0.0526 28.15) | color: oklch(0.6115 0.0526 28.15) | |
| Lab | lab(54.27 15.13 9.55) | color: lab(54.27 15.13 9.55) | |
| LCH | lch(54.27 17.89 32.26) | color: lch(54.27 17.89 32.26) |
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)
#8F8F73 — rgb(143, 143, 115)
Deuteranopia (Green-blind)
#929574 — rgb(146, 149, 116)
Tritanopia (Blue-blind)
#9F7575 — rgb(159, 117, 117)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 20%, 54%);
text
color: hsl(7, 20%, 54%);
border
border: 2px solid hsl(7, 20%, 54%);
gradient light
background: linear-gradient(to right, hsl(7, 20%, 74%), hsl(7, 20%, 54%));
gradient dark
background: linear-gradient(to right, hsl(7, 20%, 54%), hsl(7, 20%, 34%))
hex
background-color: #A17872;
tailwind
bg-[hsl(7,20%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 20%, 54%, 0.4);
css variable
--color-primary: hsl(7, 20%, 54%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(7, 20%, 54%)?
HEX: #A17872 | RGB: rgb(161, 120, 114) | CMYK: 0%, 25%, 29%, 37% | HSV: 8°, 29%, 63%. Copy any format from the conversion table above.
What colors go well with #A17872?
The complementary color is HSL(187, 20%, 54%). For a triadic harmony, use hues 7°, 127°, and 247°. For analogous combinations, try hues 337° and 37°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(7, 20%, 54%) in CSS?
As HSL: color: hsl(7, 20%, 54%); — As HEX: color: #A17872; — As RGB: color: rgb(161, 120, 114); — Tailwind CSS: bg-[hsl(7,20%,54%)] — CSS variable: --color-primary: hsl(7, 20%, 54%);