HSL(12, 18%, 46%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(12,18%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 18%, 46%) | color: hsl(12, 18%, 46%) | |
| HEX | #8A6960 | color: #8A6960 | |
| RGB | rgb(138, 105, 96) | color: rgb(138, 105, 96) | |
| CMYK | cmyk(0%, 24%, 30%, 46%) | — | |
| HSV | hsv(13, 30%, 54%) | — | |
| HWB | hwb(13 38% 46%) | color: hwb(13 38% 46%) | |
| OKLCH | oklch(0.5513 0.0449 35.77) | color: oklch(0.5513 0.0449 35.77) | |
| Lab | lab(47.43 11.81 10.16) | color: lab(47.43 11.81 10.16) | |
| LCH | lch(47.43 15.58 40.71) | color: lch(47.43 15.58 40.71) |
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)
#7C7B62 — rgb(124, 123, 98)
Deuteranopia (Green-blind)
#7E8063 — rgb(126, 128, 99)
Tritanopia (Blue-blind)
#886464 — rgb(136, 100, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 18%, 46%);
text
color: hsl(12, 18%, 46%);
border
border: 2px solid hsl(12, 18%, 46%);
gradient light
background: linear-gradient(to right, hsl(12, 18%, 66%), hsl(12, 18%, 46%));
gradient dark
background: linear-gradient(to right, hsl(12, 18%, 46%), hsl(12, 18%, 26%))
hex
background-color: #8A6960;
tailwind
bg-[hsl(12,18%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 18%, 46%, 0.4);
css variable
--color-primary: hsl(12, 18%, 46%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(12, 18%, 46%)?
HEX: #8A6960 | RGB: rgb(138, 105, 96) | CMYK: 0%, 24%, 30%, 46% | HSV: 13°, 30%, 54%. Copy any format from the conversion table above.
What colors go well with #8A6960?
The complementary color is HSL(192, 18%, 46%). 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, 18%, 46%) in CSS?
As HSL: color: hsl(12, 18%, 46%); — As HEX: color: #8A6960; — As RGB: color: rgb(138, 105, 96); — Tailwind CSS: bg-[hsl(12,18%,46%)] — CSS variable: --color-primary: hsl(12, 18%, 46%);