HSL(2, 87%, 28%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,87%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 87%, 28%) | color: hsl(2, 87%, 28%) | |
| HEX | #860D09 | color: #860D09 | |
| RGB | rgb(134, 13, 9) | color: rgb(134, 13, 9) | |
| CMYK | cmyk(0%, 90%, 93%, 47%) | — | |
| HSV | hsv(2, 93%, 53%) | — | |
| HWB | hwb(2 4% 47%) | color: hwb(2 4% 47%) | |
| OKLCH | oklch(0.3958 0.1534 28.91) | color: oklch(0.3958 0.1534 28.91) | |
| Lab | lab(27.78 47.52 36.91) | color: lab(27.78 47.52 36.91) | |
| LCH | lch(27.78 60.17 37.84) | color: lch(27.78 60.17 37.84) |
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)
#52510A — rgb(82, 81, 10)
Deuteranopia (Green-blind)
#59620A — rgb(89, 98, 10)
Tritanopia (Blue-blind)
#800B0B — rgb(128, 11, 11)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 87%, 28%);
text
color: hsl(2, 87%, 28%);
border
border: 2px solid hsl(2, 87%, 28%);
gradient light
background: linear-gradient(to right, hsl(2, 87%, 48%), hsl(2, 87%, 28%));
gradient dark
background: linear-gradient(to right, hsl(2, 87%, 28%), hsl(2, 87%, 8%))
hex
background-color: #860D09;
tailwind
bg-[hsl(2,87%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 87%, 28%, 0.4);
css variable
--color-primary: hsl(2, 87%, 28%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 87%, 28%)?
HEX: #860D09 | RGB: rgb(134, 13, 9) | CMYK: 0%, 90%, 93%, 47% | HSV: 2°, 93%, 53%. Copy any format from the conversion table above.
What colors go well with #860D09?
The complementary color is HSL(182, 87%, 28%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 87%, 28%) in CSS?
As HSL: color: hsl(2, 87%, 28%); — As HEX: color: #860D09; — As RGB: color: rgb(134, 13, 9); — Tailwind CSS: bg-[hsl(2,87%,28%)] — CSS variable: --color-primary: hsl(2, 87%, 28%);