HSL(348, 40%, 48%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(348,40%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(348, 40%, 48%) | color: hsl(348, 40%, 48%) | |
| HEX | #AB495D | color: #AB495D | |
| RGB | rgb(171, 73, 93) | color: rgb(171, 73, 93) | |
| CMYK | cmyk(0%, 57%, 46%, 33%) | — | |
| HSV | hsv(348, 57%, 67%) | — | |
| HWB | hwb(348 29% 33%) | color: hwb(348 29% 33%) | |
| OKLCH | oklch(0.5383 0.1295 9.86) | color: oklch(0.5383 0.1295 9.86) | |
| Lab | lab(44.54 42.06 8.53) | color: lab(44.54 42.06 8.53) | |
| LCH | lch(44.54 42.92 11.46) | color: lch(44.54 42.92 11.46) |
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)
#818058 — rgb(129, 128, 88)
Deuteranopia (Green-blind)
#868E57 — rgb(134, 142, 87)
Tritanopia (Blue-blind)
#A65454 — rgb(166, 84, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(348, 40%, 48%);
text
color: hsl(348, 40%, 48%);
border
border: 2px solid hsl(348, 40%, 48%);
gradient light
background: linear-gradient(to right, hsl(348, 40%, 68%), hsl(348, 40%, 48%));
gradient dark
background: linear-gradient(to right, hsl(348, 40%, 48%), hsl(348, 40%, 28%))
hex
background-color: #AB495D;
tailwind
bg-[hsl(348,40%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(348, 40%, 48%, 0.4);
css variable
--color-primary: hsl(348, 40%, 48%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(348, 40%, 48%)?
HEX: #AB495D | RGB: rgb(171, 73, 93) | CMYK: 0%, 57%, 46%, 33% | HSV: 348°, 57%, 67%. Copy any format from the conversion table above.
What colors go well with #AB495D?
The complementary color is HSL(168, 40%, 48%). 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, 40%, 48%) in CSS?
As HSL: color: hsl(348, 40%, 48%); — As HEX: color: #AB495D; — As RGB: color: rgb(171, 73, 93); — Tailwind CSS: bg-[hsl(348,40%,48%)] — CSS variable: --color-primary: hsl(348, 40%, 48%);