HSL(358, 40%, 48%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(358,40%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(358, 40%, 48%) | color: hsl(358, 40%, 48%) | |
| HEX | #AB494D | color: #AB494D | |
| RGB | rgb(171, 73, 77) | color: rgb(171, 73, 77) | |
| CMYK | cmyk(0%, 57%, 55%, 33%) | — | |
| HSV | hsv(358, 57%, 67%) | — | |
| HWB | hwb(358 29% 33%) | color: hwb(358 29% 33%) | |
| OKLCH | oklch(0.5344 0.129 20.05) | color: oklch(0.5344 0.129 20.05) | |
| Lab | lab(44.18 40.56 17.83) | color: lab(44.18 40.56 17.83) | |
| LCH | lch(44.18 44.31 23.73) | color: lch(44.18 44.31 23.73) |
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)
#81804C — rgb(129, 128, 76)
Deuteranopia (Green-blind)
#868E4C — rgb(134, 142, 76)
Tritanopia (Blue-blind)
#A64B4B — rgb(166, 75, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(358, 40%, 48%);
text
color: hsl(358, 40%, 48%);
border
border: 2px solid hsl(358, 40%, 48%);
gradient light
background: linear-gradient(to right, hsl(358, 40%, 68%), hsl(358, 40%, 48%));
gradient dark
background: linear-gradient(to right, hsl(358, 40%, 48%), hsl(358, 40%, 28%))
hex
background-color: #AB494D;
tailwind
bg-[hsl(358,40%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(358, 40%, 48%, 0.4);
css variable
--color-primary: hsl(358, 40%, 48%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(358, 40%, 48%)?
HEX: #AB494D | RGB: rgb(171, 73, 77) | CMYK: 0%, 57%, 55%, 33% | HSV: 358°, 57%, 67%. Copy any format from the conversion table above.
What colors go well with #AB494D?
The complementary color is HSL(178, 40%, 48%). For a triadic harmony, use hues 358°, 118°, and 238°. For analogous combinations, try hues 328° and 28°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(358, 40%, 48%) in CSS?
As HSL: color: hsl(358, 40%, 48%); — As HEX: color: #AB494D; — As RGB: color: rgb(171, 73, 77); — Tailwind CSS: bg-[hsl(358,40%,48%)] — CSS variable: --color-primary: hsl(358, 40%, 48%);