HSL(351, 54%, 23%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(351,54%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(351, 54%, 23%) | color: hsl(351, 54%, 23%) | |
| HEX | #5A1B24 | color: #5A1B24 | |
| RGB | rgb(90, 27, 36) | color: rgb(90, 27, 36) | |
| CMYK | cmyk(0%, 70%, 60%, 65%) | — | |
| HSV | hsv(351, 70%, 35%) | — | |
| HWB | hwb(351 11% 65%) | color: hwb(351 11% 65%) | |
| OKLCH | oklch(0.3252 0.0923 15.51) | color: oklch(0.3252 0.0923 15.51) | |
| Lab | lab(20.38 29.61 9.92) | color: lab(20.38 29.61 9.92) | |
| LCH | lch(20.38 31.23 18.52) | color: lch(20.38 31.23 18.52) |
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)
#3F3E22 — rgb(63, 62, 34)
Deuteranopia (Green-blind)
#424721 — rgb(66, 71, 33)
Tritanopia (Blue-blind)
#572020 — rgb(87, 32, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(351, 54%, 23%);
text
color: hsl(351, 54%, 23%);
border
border: 2px solid hsl(351, 54%, 23%);
gradient light
background: linear-gradient(to right, hsl(351, 54%, 43%), hsl(351, 54%, 23%));
gradient dark
background: linear-gradient(to right, hsl(351, 54%, 23%), hsl(351, 54%, 3%))
hex
background-color: #5A1B24;
tailwind
bg-[hsl(351,54%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(351, 54%, 23%, 0.4);
css variable
--color-primary: hsl(351, 54%, 23%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(351, 54%, 23%)?
HEX: #5A1B24 | RGB: rgb(90, 27, 36) | CMYK: 0%, 70%, 60%, 65% | HSV: 351°, 70%, 35%. Copy any format from the conversion table above.
What colors go well with #5A1B24?
The complementary color is HSL(171, 54%, 23%). 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, 54%, 23%) in CSS?
As HSL: color: hsl(351, 54%, 23%); — As HEX: color: #5A1B24; — As RGB: color: rgb(90, 27, 36); — Tailwind CSS: bg-[hsl(351,54%,23%)] — CSS variable: --color-primary: hsl(351, 54%, 23%);