HSL(2, 68%, 45%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,68%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 68%, 45%) | color: hsl(2, 68%, 45%) | |
| HEX | #C12A25 | color: #C12A25 | |
| RGB | rgb(193, 42, 37) | color: rgb(193, 42, 37) | |
| CMYK | cmyk(0%, 78%, 81%, 24%) | — | |
| HSV | hsv(2, 81%, 76%) | — | |
| HWB | hwb(2 14% 24%) | color: hwb(2 14% 24%) | |
| OKLCH | oklch(0.5307 0.188 27.8) | color: oklch(0.5307 0.188 27.8) | |
| Lab | lab(42.96 58.15 40.81) | color: lab(42.96 58.15 40.81) | |
| LCH | lch(42.96 71.04 35.06) | color: lch(42.96 71.04 35.06) |
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)
#807E26 — rgb(128, 126, 38)
Deuteranopia (Green-blind)
#889427 — rgb(136, 148, 39)
Tritanopia (Blue-blind)
#B92727 — rgb(185, 39, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 68%, 45%);
text
color: hsl(2, 68%, 45%);
border
border: 2px solid hsl(2, 68%, 45%);
gradient light
background: linear-gradient(to right, hsl(2, 68%, 65%), hsl(2, 68%, 45%));
gradient dark
background: linear-gradient(to right, hsl(2, 68%, 45%), hsl(2, 68%, 25%))
hex
background-color: #C12A25;
tailwind
bg-[hsl(2,68%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 68%, 45%, 0.4);
css variable
--color-primary: hsl(2, 68%, 45%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 68%, 45%)?
HEX: #C12A25 | RGB: rgb(193, 42, 37) | CMYK: 0%, 78%, 81%, 24% | HSV: 2°, 81%, 76%. Copy any format from the conversion table above.
What colors go well with #C12A25?
The complementary color is HSL(182, 68%, 45%). 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, 68%, 45%) in CSS?
As HSL: color: hsl(2, 68%, 45%); — As HEX: color: #C12A25; — As RGB: color: rgb(193, 42, 37); — Tailwind CSS: bg-[hsl(2,68%,45%)] — CSS variable: --color-primary: hsl(2, 68%, 45%);