HSL(6, 91%, 40%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(6,91%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(6, 91%, 40%) | color: hsl(6, 91%, 40%) | |
| HEX | #C31C09 | color: #C31C09 | |
| RGB | rgb(195, 28, 9) | color: rgb(195, 28, 9) | |
| CMYK | cmyk(0%, 86%, 95%, 24%) | — | |
| HSV | hsv(6, 95%, 76%) | — | |
| HWB | hwb(6 4% 24%) | color: hwb(6 4% 24%) | |
| OKLCH | oklch(0.5232 0.2009 30.49) | color: oklch(0.5232 0.2009 30.49) | |
| Lab | lab(41.93 61.75 52.44) | color: lab(41.93 61.75 52.44) | |
| LCH | lch(41.93 81.01 40.34) | color: lch(41.93 81.01 40.34) |
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)
#7B790E — rgb(123, 121, 14)
Deuteranopia (Green-blind)
#84910F — rgb(132, 145, 15)
Tritanopia (Blue-blind)
#BB1112 — rgb(187, 17, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(6, 91%, 40%);
text
color: hsl(6, 91%, 40%);
border
border: 2px solid hsl(6, 91%, 40%);
gradient light
background: linear-gradient(to right, hsl(6, 91%, 60%), hsl(6, 91%, 40%));
gradient dark
background: linear-gradient(to right, hsl(6, 91%, 40%), hsl(6, 91%, 20%))
hex
background-color: #C31C09;
tailwind
bg-[hsl(6,91%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(6, 91%, 40%, 0.4);
css variable
--color-primary: hsl(6, 91%, 40%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(6, 91%, 40%)?
HEX: #C31C09 | RGB: rgb(195, 28, 9) | CMYK: 0%, 86%, 95%, 24% | HSV: 6°, 95%, 76%. Copy any format from the conversion table above.
What colors go well with #C31C09?
The complementary color is HSL(186, 91%, 40%). For a triadic harmony, use hues 6°, 126°, and 246°. For analogous combinations, try hues 336° and 36°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(6, 91%, 40%) in CSS?
As HSL: color: hsl(6, 91%, 40%); — As HEX: color: #C31C09; — As RGB: color: rgb(195, 28, 9); — Tailwind CSS: bg-[hsl(6,91%,40%)] — CSS variable: --color-primary: hsl(6, 91%, 40%);