HSL(6, 70%, 17%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(6,70%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(6, 70%, 17%) | color: hsl(6, 70%, 17%) | |
| HEX | #4A130D | color: #4A130D | |
| RGB | rgb(74, 19, 13) | color: rgb(74, 19, 13) | |
| CMYK | cmyk(0%, 74%, 82%, 71%) | — | |
| HSV | hsv(6, 82%, 29%) | — | |
| HWB | hwb(6 5% 71%) | color: hwb(6 5% 71%) | |
| OKLCH | oklch(0.279 0.0847 29.62) | color: oklch(0.279 0.0847 29.62) | |
| Lab | lab(15.23 25.66 17.78) | color: lab(15.23 25.66 17.78) | |
| LCH | lch(15.23 31.22 34.72) | color: lch(15.23 31.22 34.72) |
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)
#32320E — rgb(50, 50, 14)
Deuteranopia (Green-blind)
#353A0F — rgb(53, 58, 15)
Tritanopia (Blue-blind)
#471010 — rgb(71, 16, 16)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(6, 70%, 17%);
text
color: hsl(6, 70%, 17%);
border
border: 2px solid hsl(6, 70%, 17%);
gradient light
background: linear-gradient(to right, hsl(6, 70%, 37%), hsl(6, 70%, 17%));
gradient dark
background: linear-gradient(to right, hsl(6, 70%, 17%), hsl(6, 70%, 0%))
hex
background-color: #4A130D;
tailwind
bg-[hsl(6,70%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(6, 70%, 17%, 0.4);
css variable
--color-primary: hsl(6, 70%, 17%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(6, 70%, 17%)?
HEX: #4A130D | RGB: rgb(74, 19, 13) | CMYK: 0%, 74%, 82%, 71% | HSV: 6°, 82%, 29%. Copy any format from the conversion table above.
What colors go well with #4A130D?
The complementary color is HSL(186, 70%, 17%). For a triadic harmony, use hues 6°, 126°, and 246°. For analogous combinations, try hues 336° and 36°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(6, 70%, 17%) in CSS?
As HSL: color: hsl(6, 70%, 17%); — As HEX: color: #4A130D; — As RGB: color: rgb(74, 19, 13); — Tailwind CSS: bg-[hsl(6,70%,17%)] — CSS variable: --color-primary: hsl(6, 70%, 17%);