HSL(350, 40%, 40%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(350,40%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(350, 40%, 40%) | color: hsl(350, 40%, 40%) | |
| HEX | #8F3D4B | color: #8F3D4B | |
| RGB | rgb(143, 61, 75) | color: rgb(143, 61, 75) | |
| CMYK | cmyk(0%, 57%, 48%, 44%) | — | |
| HSV | hsv(350, 57%, 56%) | — | |
| HWB | hwb(350 24% 44%) | color: hwb(350 24% 44%) | |
| OKLCH | oklch(0.4733 0.1117 11.82) | color: oklch(0.4733 0.1117 11.82) | |
| Lab | lab(37.27 36.1 8.88) | color: lab(37.27 36.1 8.88) | |
| LCH | lch(37.27 37.18 13.82) | color: lch(37.27 37.18 13.82) |
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)
#6B6B48 — rgb(107, 107, 72)
Deuteranopia (Green-blind)
#707647 — rgb(112, 118, 71)
Tritanopia (Blue-blind)
#8B4544 — rgb(139, 69, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(350, 40%, 40%);
text
color: hsl(350, 40%, 40%);
border
border: 2px solid hsl(350, 40%, 40%);
gradient light
background: linear-gradient(to right, hsl(350, 40%, 60%), hsl(350, 40%, 40%));
gradient dark
background: linear-gradient(to right, hsl(350, 40%, 40%), hsl(350, 40%, 20%))
hex
background-color: #8F3D4B;
tailwind
bg-[hsl(350,40%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(350, 40%, 40%, 0.4);
css variable
--color-primary: hsl(350, 40%, 40%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(350, 40%, 40%)?
HEX: #8F3D4B | RGB: rgb(143, 61, 75) | CMYK: 0%, 57%, 48%, 44% | HSV: 350°, 57%, 56%. Copy any format from the conversion table above.
What colors go well with #8F3D4B?
The complementary color is HSL(170, 40%, 40%). For a triadic harmony, use hues 350°, 110°, and 230°. For analogous combinations, try hues 320° and 20°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(350, 40%, 40%) in CSS?
As HSL: color: hsl(350, 40%, 40%); — As HEX: color: #8F3D4B; — As RGB: color: rgb(143, 61, 75); — Tailwind CSS: bg-[hsl(350,40%,40%)] — CSS variable: --color-primary: hsl(350, 40%, 40%);