HSL(7, 54%, 17%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(7,54%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 54%, 17%) | color: hsl(7, 54%, 17%) | |
| HEX | #431914 | color: #431914 | |
| RGB | rgb(67, 25, 20) | color: rgb(67, 25, 20) | |
| CMYK | cmyk(0%, 63%, 70%, 74%) | — | |
| HSV | hsv(6, 70%, 26%) | — | |
| HWB | hwb(6 8% 74%) | color: hwb(6 8% 74%) | |
| OKLCH | oklch(0.2762 0.0664 28.91) | color: oklch(0.2762 0.0664 28.91) | |
| Lab | lab(15.17 19.88 13.43) | color: lab(15.17 19.88 13.43) | |
| LCH | lch(15.17 23.99 34.04) | color: lch(15.17 23.99 34.04) |
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)
#313015 — rgb(49, 48, 21)
Deuteranopia (Green-blind)
#333616 — rgb(51, 54, 22)
Tritanopia (Blue-blind)
#411616 — rgb(65, 22, 22)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 54%, 17%);
text
color: hsl(7, 54%, 17%);
border
border: 2px solid hsl(7, 54%, 17%);
gradient light
background: linear-gradient(to right, hsl(7, 54%, 37%), hsl(7, 54%, 17%));
gradient dark
background: linear-gradient(to right, hsl(7, 54%, 17%), hsl(7, 54%, 0%))
hex
background-color: #431914;
tailwind
bg-[hsl(7,54%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 54%, 17%, 0.4);
css variable
--color-primary: hsl(7, 54%, 17%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(7, 54%, 17%)?
HEX: #431914 | RGB: rgb(67, 25, 20) | CMYK: 0%, 63%, 70%, 74% | HSV: 6°, 70%, 26%. Copy any format from the conversion table above.
What colors go well with #431914?
The complementary color is HSL(187, 54%, 17%). 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, 54%, 17%) in CSS?
As HSL: color: hsl(7, 54%, 17%); — As HEX: color: #431914; — As RGB: color: rgb(67, 25, 20); — Tailwind CSS: bg-[hsl(7,54%,17%)] — CSS variable: --color-primary: hsl(7, 54%, 17%);