HSL(345, 50%, 37%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(345,50%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(345, 50%, 37%) | color: hsl(345, 50%, 37%) | |
| HEX | #8E2F47 | color: #8E2F47 | |
| RGB | rgb(142, 47, 71) | color: rgb(142, 47, 71) | |
| CMYK | cmyk(0%, 67%, 50%, 44%) | — | |
| HSV | hsv(345, 67%, 56%) | — | |
| HWB | hwb(345 18% 44%) | color: hwb(345 18% 44%) | |
| OKLCH | oklch(0.4517 0.1293 8.62) | color: oklch(0.4517 0.1293 8.62) | |
| Lab | lab(34.48 42.07 7.49) | color: lab(34.48 42.07 7.49) | |
| LCH | lch(34.48 42.73 10.09) | color: lch(34.48 42.73 10.09) |
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)
#656441 — rgb(101, 100, 65)
Deuteranopia (Green-blind)
#6A7240 — rgb(106, 114, 64)
Tritanopia (Blue-blind)
#893D3C — rgb(137, 61, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(345, 50%, 37%);
text
color: hsl(345, 50%, 37%);
border
border: 2px solid hsl(345, 50%, 37%);
gradient light
background: linear-gradient(to right, hsl(345, 50%, 57%), hsl(345, 50%, 37%));
gradient dark
background: linear-gradient(to right, hsl(345, 50%, 37%), hsl(345, 50%, 17%))
hex
background-color: #8E2F47;
tailwind
bg-[hsl(345,50%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(345, 50%, 37%, 0.4);
css variable
--color-primary: hsl(345, 50%, 37%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(345, 50%, 37%)?
HEX: #8E2F47 | RGB: rgb(142, 47, 71) | CMYK: 0%, 67%, 50%, 44% | HSV: 345°, 67%, 56%. Copy any format from the conversion table above.
What colors go well with #8E2F47?
The complementary color is HSL(165, 50%, 37%). For a triadic harmony, use hues 345°, 105°, and 225°. For analogous combinations, try hues 315° and 15°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(345, 50%, 37%) in CSS?
As HSL: color: hsl(345, 50%, 37%); — As HEX: color: #8E2F47; — As RGB: color: rgb(142, 47, 71); — Tailwind CSS: bg-[hsl(345,50%,37%)] — CSS variable: --color-primary: hsl(345, 50%, 37%);