HSL(2, 97%, 27%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,97%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 97%, 27%) | color: hsl(2, 97%, 27%) | |
| HEX | #880702 | color: #880702 | |
| RGB | rgb(136, 7, 2) | color: rgb(136, 7, 2) | |
| CMYK | cmyk(0%, 95%, 99%, 47%) | — | |
| HSV | hsv(2, 99%, 53%) | — | |
| HWB | hwb(2 1% 47%) | color: hwb(2 1% 47%) | |
| OKLCH | oklch(0.3968 0.1584 29.66) | color: oklch(0.3968 0.1584 29.66) | |
| Lab | lab(27.82 49.03 39.98) | color: lab(27.82 49.03 39.98) | |
| LCH | lch(27.82 63.26 39.19) | color: lch(27.82 63.26 39.19) |
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)
#504F03 — rgb(80, 79, 3)
Deuteranopia (Green-blind)
#586104 — rgb(88, 97, 4)
Tritanopia (Blue-blind)
#820404 — rgb(130, 4, 4)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 97%, 27%);
text
color: hsl(2, 97%, 27%);
border
border: 2px solid hsl(2, 97%, 27%);
gradient light
background: linear-gradient(to right, hsl(2, 97%, 47%), hsl(2, 97%, 27%));
gradient dark
background: linear-gradient(to right, hsl(2, 97%, 27%), hsl(2, 97%, 7%))
hex
background-color: #880702;
tailwind
bg-[hsl(2,97%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 97%, 27%, 0.4);
css variable
--color-primary: hsl(2, 97%, 27%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 97%, 27%)?
HEX: #880702 | RGB: rgb(136, 7, 2) | CMYK: 0%, 95%, 99%, 47% | HSV: 2°, 99%, 53%. Copy any format from the conversion table above.
What colors go well with #880702?
The complementary color is HSL(182, 97%, 27%). 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, 97%, 27%) in CSS?
As HSL: color: hsl(2, 97%, 27%); — As HEX: color: #880702; — As RGB: color: rgb(136, 7, 2); — Tailwind CSS: bg-[hsl(2,97%,27%)] — CSS variable: --color-primary: hsl(2, 97%, 27%);