HSL(7, 45%, 51%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(7,45%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 45%, 51%) | color: hsl(7, 45%, 51%) | |
| HEX | #BA574A | color: #BA574A | |
| RGB | rgb(186, 87, 74) | color: rgb(186, 87, 74) | |
| CMYK | cmyk(0%, 53%, 60%, 27%) | — | |
| HSV | hsv(7, 60%, 73%) | — | |
| HWB | hwb(7 29% 27%) | color: hwb(7 29% 27%) | |
| OKLCH | oklch(0.5768 0.1307 29.31) | color: oklch(0.5768 0.1307 29.31) | |
| Lab | lab(49.19 38.9 26.62) | color: lab(49.19 38.9 26.62) | |
| LCH | lch(49.19 47.14 34.38) | color: lch(49.19 47.14 34.38) |
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)
#8F8E4D — rgb(143, 142, 77)
Deuteranopia (Green-blind)
#959C4E — rgb(149, 156, 78)
Tritanopia (Blue-blind)
#B55050 — rgb(181, 80, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 45%, 51%);
text
color: hsl(7, 45%, 51%);
border
border: 2px solid hsl(7, 45%, 51%);
gradient light
background: linear-gradient(to right, hsl(7, 45%, 71%), hsl(7, 45%, 51%));
gradient dark
background: linear-gradient(to right, hsl(7, 45%, 51%), hsl(7, 45%, 31%))
hex
background-color: #BA574A;
tailwind
bg-[hsl(7,45%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 45%, 51%, 0.4);
css variable
--color-primary: hsl(7, 45%, 51%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(7, 45%, 51%)?
HEX: #BA574A | RGB: rgb(186, 87, 74) | CMYK: 0%, 53%, 60%, 27% | HSV: 7°, 60%, 73%. Copy any format from the conversion table above.
What colors go well with #BA574A?
The complementary color is HSL(187, 45%, 51%). For a triadic harmony, use hues 7°, 127°, and 247°. For analogous combinations, try hues 337° and 37°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(7, 45%, 51%) in CSS?
As HSL: color: hsl(7, 45%, 51%); — As HEX: color: #BA574A; — As RGB: color: rgb(186, 87, 74); — Tailwind CSS: bg-[hsl(7,45%,51%)] — CSS variable: --color-primary: hsl(7, 45%, 51%);