HSL(12, 31%, 17%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(12,31%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 31%, 17%) | color: hsl(12, 31%, 17%) | |
| HEX | #39231E | color: #39231E | |
| RGB | rgb(57, 35, 30) | color: rgb(57, 35, 30) | |
| CMYK | cmyk(0%, 39%, 47%, 78%) | — | |
| HSV | hsv(11, 47%, 22%) | — | |
| HWB | hwb(11 12% 78%) | color: hwb(11 12% 78%) | |
| OKLCH | oklch(0.2824 0.0353 33.37) | color: oklch(0.2824 0.0353 33.37) | |
| Lab | lab(16.33 9.78 7.66) | color: lab(16.33 9.78 7.66) | |
| LCH | lch(16.33 12.42 38.07) | color: lch(16.33 12.42 38.07) |
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)
#2F2F1F — rgb(47, 47, 31)
Deuteranopia (Green-blind)
#313220 — rgb(49, 50, 32)
Tritanopia (Blue-blind)
#382020 — rgb(56, 32, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 31%, 17%);
text
color: hsl(12, 31%, 17%);
border
border: 2px solid hsl(12, 31%, 17%);
gradient light
background: linear-gradient(to right, hsl(12, 31%, 37%), hsl(12, 31%, 17%));
gradient dark
background: linear-gradient(to right, hsl(12, 31%, 17%), hsl(12, 31%, 0%))
hex
background-color: #39231E;
tailwind
bg-[hsl(12,31%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 31%, 17%, 0.4);
css variable
--color-primary: hsl(12, 31%, 17%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(12, 31%, 17%)?
HEX: #39231E | RGB: rgb(57, 35, 30) | CMYK: 0%, 39%, 47%, 78% | HSV: 11°, 47%, 22%. Copy any format from the conversion table above.
What colors go well with #39231E?
The complementary color is HSL(192, 31%, 17%). 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, 31%, 17%) in CSS?
As HSL: color: hsl(12, 31%, 17%); — As HEX: color: #39231E; — As RGB: color: rgb(57, 35, 30); — Tailwind CSS: bg-[hsl(12,31%,17%)] — CSS variable: --color-primary: hsl(12, 31%, 17%);