HSL(348, 68%, 37%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(348,68%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(348, 68%, 37%) | color: hsl(348, 68%, 37%) | |
| HEX | #9F1E38 | color: #9F1E38 | |
| RGB | rgb(159, 30, 56) | color: rgb(159, 30, 56) | |
| CMYK | cmyk(0%, 81%, 65%, 38%) | — | |
| HSV | hsv(348, 81%, 62%) | — | |
| HWB | hwb(348 12% 38%) | color: hwb(348 12% 38%) | |
| OKLCH | oklch(0.4618 0.1631 15.99) | color: oklch(0.4618 0.1631 15.99) | |
| Lab | lab(35.18 52.45 18.67) | color: lab(35.18 52.45 18.67) | |
| LCH | lch(35.18 55.67 19.59) | color: lch(35.18 55.67 19.59) |
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)
#676632 — rgb(103, 102, 50)
Deuteranopia (Green-blind)
#6F7830 — rgb(111, 120, 48)
Tritanopia (Blue-blind)
#992D2C — rgb(153, 45, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(348, 68%, 37%);
text
color: hsl(348, 68%, 37%);
border
border: 2px solid hsl(348, 68%, 37%);
gradient light
background: linear-gradient(to right, hsl(348, 68%, 57%), hsl(348, 68%, 37%));
gradient dark
background: linear-gradient(to right, hsl(348, 68%, 37%), hsl(348, 68%, 17%))
hex
background-color: #9F1E38;
tailwind
bg-[hsl(348,68%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(348, 68%, 37%, 0.4);
css variable
--color-primary: hsl(348, 68%, 37%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(348, 68%, 37%)?
HEX: #9F1E38 | RGB: rgb(159, 30, 56) | CMYK: 0%, 81%, 65%, 38% | HSV: 348°, 81%, 62%. Copy any format from the conversion table above.
What colors go well with #9F1E38?
The complementary color is HSL(168, 68%, 37%). 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, 68%, 37%) in CSS?
As HSL: color: hsl(348, 68%, 37%); — As HEX: color: #9F1E38; — As RGB: color: rgb(159, 30, 56); — Tailwind CSS: bg-[hsl(348,68%,37%)] — CSS variable: --color-primary: hsl(348, 68%, 37%);