HSL(354, 30%, 20%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(354,30%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(354, 30%, 20%) | color: hsl(354, 30%, 20%) | |
| HEX | #422427 | color: #422427 | |
| RGB | rgb(66, 36, 39) | color: rgb(66, 36, 39) | |
| CMYK | cmyk(0%, 45%, 41%, 74%) | — | |
| HSV | hsv(354, 45%, 26%) | — | |
| HWB | hwb(354 14% 74%) | color: hwb(354 14% 74%) | |
| OKLCH | oklch(0.3006 0.0459 13.74) | color: oklch(0.3006 0.0459 13.74) | |
| Lab | lab(18.22 14.7 4.17) | color: lab(18.22 14.7 4.17) | |
| LCH | lch(18.22 15.28 15.84) | color: lch(18.22 15.28 15.84) |
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)
#353526 — rgb(53, 53, 38)
Deuteranopia (Green-blind)
#373926 — rgb(55, 57, 38)
Tritanopia (Blue-blind)
#412626 — rgb(65, 38, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(354, 30%, 20%);
text
color: hsl(354, 30%, 20%);
border
border: 2px solid hsl(354, 30%, 20%);
gradient light
background: linear-gradient(to right, hsl(354, 30%, 40%), hsl(354, 30%, 20%));
gradient dark
background: linear-gradient(to right, hsl(354, 30%, 20%), hsl(354, 30%, 0%))
hex
background-color: #422427;
tailwind
bg-[hsl(354,30%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(354, 30%, 20%, 0.4);
css variable
--color-primary: hsl(354, 30%, 20%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(354, 30%, 20%)?
HEX: #422427 | RGB: rgb(66, 36, 39) | CMYK: 0%, 45%, 41%, 74% | HSV: 354°, 45%, 26%. Copy any format from the conversion table above.
What colors go well with #422427?
The complementary color is HSL(174, 30%, 20%). For a triadic harmony, use hues 354°, 114°, and 234°. For analogous combinations, try hues 324° and 24°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(354, 30%, 20%) in CSS?
As HSL: color: hsl(354, 30%, 20%); — As HEX: color: #422427; — As RGB: color: rgb(66, 36, 39); — Tailwind CSS: bg-[hsl(354,30%,20%)] — CSS variable: --color-primary: hsl(354, 30%, 20%);