HSL(348, 70%, 29%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(348,70%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(348, 70%, 29%) | color: hsl(348, 70%, 29%) | |
| HEX | #7E162B | color: #7E162B | |
| RGB | rgb(126, 22, 43) | color: rgb(126, 22, 43) | |
| CMYK | cmyk(0%, 83%, 66%, 51%) | — | |
| HSV | hsv(348, 83%, 49%) | — | |
| HWB | hwb(348 8% 51%) | color: hwb(348 8% 51%) | |
| OKLCH | oklch(0.3902 0.1373 15.87) | color: oklch(0.3902 0.1373 15.87) | |
| Lab | lab(27.26 44.18 15.58) | color: lab(27.26 44.18 15.58) | |
| LCH | lch(27.26 46.85 19.43) | color: lch(27.26 46.85 19.43) |
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)
#515026 — rgb(81, 80, 38)
Deuteranopia (Green-blind)
#575F25 — rgb(87, 95, 37)
Tritanopia (Blue-blind)
#792221 — rgb(121, 34, 33)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(348, 70%, 29%);
text
color: hsl(348, 70%, 29%);
border
border: 2px solid hsl(348, 70%, 29%);
gradient light
background: linear-gradient(to right, hsl(348, 70%, 49%), hsl(348, 70%, 29%));
gradient dark
background: linear-gradient(to right, hsl(348, 70%, 29%), hsl(348, 70%, 9%))
hex
background-color: #7E162B;
tailwind
bg-[hsl(348,70%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(348, 70%, 29%, 0.4);
css variable
--color-primary: hsl(348, 70%, 29%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(348, 70%, 29%)?
HEX: #7E162B | RGB: rgb(126, 22, 43) | CMYK: 0%, 83%, 66%, 51% | HSV: 348°, 83%, 49%. Copy any format from the conversion table above.
What colors go well with #7E162B?
The complementary color is HSL(168, 70%, 29%). For a triadic harmony, use hues 348°, 108°, and 228°. For analogous combinations, try hues 318° and 18°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(348, 70%, 29%) in CSS?
As HSL: color: hsl(348, 70%, 29%); — As HEX: color: #7E162B; — As RGB: color: rgb(126, 22, 43); — Tailwind CSS: bg-[hsl(348,70%,29%)] — CSS variable: --color-primary: hsl(348, 70%, 29%);