HSL(10, 20%, 17%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(10,20%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(10, 20%, 17%) | color: hsl(10, 20%, 17%) | |
| HEX | #342623 | color: #342623 | |
| RGB | rgb(52, 38, 35) | color: rgb(52, 38, 35) | |
| CMYK | cmyk(0%, 27%, 33%, 80%) | — | |
| HSV | hsv(11, 33%, 20%) | — | |
| HWB | hwb(11 13% 80%) | color: hwb(11 13% 80%) | |
| OKLCH | oklch(0.2841 0.022 32.27) | color: oklch(0.2841 0.022 32.27) | |
| Lab | lab(16.69 6.05 4.53) | color: lab(16.69 6.05 4.53) | |
| LCH | lch(16.69 7.56 36.82) | color: lch(16.69 7.56 36.82) |
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)
#2E2E24 — rgb(46, 46, 36)
Deuteranopia (Green-blind)
#2F3024 — rgb(47, 48, 36)
Tritanopia (Blue-blind)
#332424 — rgb(51, 36, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(10, 20%, 17%);
text
color: hsl(10, 20%, 17%);
border
border: 2px solid hsl(10, 20%, 17%);
gradient light
background: linear-gradient(to right, hsl(10, 20%, 37%), hsl(10, 20%, 17%));
gradient dark
background: linear-gradient(to right, hsl(10, 20%, 17%), hsl(10, 20%, 0%))
hex
background-color: #342623;
tailwind
bg-[hsl(10,20%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(10, 20%, 17%, 0.4);
css variable
--color-primary: hsl(10, 20%, 17%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(10, 20%, 17%)?
HEX: #342623 | RGB: rgb(52, 38, 35) | CMYK: 0%, 27%, 33%, 80% | HSV: 11°, 33%, 20%. Copy any format from the conversion table above.
What colors go well with #342623?
The complementary color is HSL(190, 20%, 17%). For a triadic harmony, use hues 10°, 130°, and 250°. For analogous combinations, try hues 340° and 40°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(10, 20%, 17%) in CSS?
As HSL: color: hsl(10, 20%, 17%); — As HEX: color: #342623; — As RGB: color: rgb(52, 38, 35); — Tailwind CSS: bg-[hsl(10,20%,17%)] — CSS variable: --color-primary: hsl(10, 20%, 17%);