HSL(351, 92%, 38%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(351,92%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(351, 92%, 38%) | color: hsl(351, 92%, 38%) | |
| HEX | #BA0822 | color: #BA0822 | |
| RGB | rgb(186, 8, 34) | color: rgb(186, 8, 34) | |
| CMYK | cmyk(0%, 96%, 82%, 27%) | — | |
| HSV | hsv(351, 96%, 73%) | — | |
| HWB | hwb(351 3% 27%) | color: hwb(351 3% 27%) | |
| OKLCH | oklch(0.4997 0.1988 24.19) | color: oklch(0.4997 0.1988 24.19) | |
| Lab | lab(39.13 62.87 38.21) | color: lab(39.13 62.87 38.21) | |
| LCH | lch(39.13 73.57 31.29) | color: lch(39.13 73.57 31.29) |
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)
#6D6B1C — rgb(109, 107, 28)
Deuteranopia (Green-blind)
#77851A — rgb(119, 133, 26)
Tritanopia (Blue-blind)
#B11716 — rgb(177, 23, 22)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(351, 92%, 38%);
text
color: hsl(351, 92%, 38%);
border
border: 2px solid hsl(351, 92%, 38%);
gradient light
background: linear-gradient(to right, hsl(351, 92%, 58%), hsl(351, 92%, 38%));
gradient dark
background: linear-gradient(to right, hsl(351, 92%, 38%), hsl(351, 92%, 18%))
hex
background-color: #BA0822;
tailwind
bg-[hsl(351,92%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(351, 92%, 38%, 0.4);
css variable
--color-primary: hsl(351, 92%, 38%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(351, 92%, 38%)?
HEX: #BA0822 | RGB: rgb(186, 8, 34) | CMYK: 0%, 96%, 82%, 27% | HSV: 351°, 96%, 73%. Copy any format from the conversion table above.
What colors go well with #BA0822?
The complementary color is HSL(171, 92%, 38%). For a triadic harmony, use hues 351°, 111°, and 231°. For analogous combinations, try hues 321° and 21°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(351, 92%, 38%) in CSS?
As HSL: color: hsl(351, 92%, 38%); — As HEX: color: #BA0822; — As RGB: color: rgb(186, 8, 34); — Tailwind CSS: bg-[hsl(351,92%,38%)] — CSS variable: --color-primary: hsl(351, 92%, 38%);