HSL(352, 100%, 27%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(352,100%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(352, 100%, 27%) | color: hsl(352, 100%, 27%) | |
| HEX | #8A0012 | color: #8A0012 | |
| RGB | rgb(138, 0, 18) | color: rgb(138, 0, 18) | |
| CMYK | cmyk(0%, 100%, 87%, 46%) | — | |
| HSV | hsv(352, 100%, 54%) | — | |
| HWB | hwb(352 0% 46%) | color: hwb(352 0% 46%) | |
| OKLCH | oklch(0.399 0.1618 25.11) | color: oklch(0.399 0.1618 25.11) | |
| Lab | lab(27.98 51.05 33.03) | color: lab(27.98 51.05 33.03) | |
| LCH | lch(27.98 60.8 32.9) | color: lch(27.98 60.8 32.9) |
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)
#4E4D0E — rgb(78, 77, 14)
Deuteranopia (Green-blind)
#56610D — rgb(86, 97, 13)
Tritanopia (Blue-blind)
#830A09 — rgb(131, 10, 9)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(352, 100%, 27%);
text
color: hsl(352, 100%, 27%);
border
border: 2px solid hsl(352, 100%, 27%);
gradient light
background: linear-gradient(to right, hsl(352, 100%, 47%), hsl(352, 100%, 27%));
gradient dark
background: linear-gradient(to right, hsl(352, 100%, 27%), hsl(352, 100%, 7%))
hex
background-color: #8A0012;
tailwind
bg-[hsl(352,100%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(352, 100%, 27%, 0.4);
css variable
--color-primary: hsl(352, 100%, 27%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(352, 100%, 27%)?
HEX: #8A0012 | RGB: rgb(138, 0, 18) | CMYK: 0%, 100%, 87%, 46% | HSV: 352°, 100%, 54%. Copy any format from the conversion table above.
What colors go well with #8A0012?
The complementary color is HSL(172, 100%, 27%). For a triadic harmony, use hues 352°, 112°, and 232°. For analogous combinations, try hues 322° and 22°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(352, 100%, 27%) in CSS?
As HSL: color: hsl(352, 100%, 27%); — As HEX: color: #8A0012; — As RGB: color: rgb(138, 0, 18); — Tailwind CSS: bg-[hsl(352,100%,27%)] — CSS variable: --color-primary: hsl(352, 100%, 27%);