HSL(2, 72%, 50%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,72%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 72%, 50%) | color: hsl(2, 72%, 50%) | |
| HEX | #DB2A24 | color: #DB2A24 | |
| RGB | rgb(219, 42, 36) | color: rgb(219, 42, 36) | |
| CMYK | cmyk(0%, 81%, 84%, 14%) | — | |
| HSV | hsv(2, 84%, 86%) | — | |
| HWB | hwb(2 14% 14%) | color: hwb(2 14% 14%) | |
| OKLCH | oklch(0.5777 0.2121 28.26) | color: oklch(0.5777 0.2121 28.26) | |
| Lab | lab(48.07 65.65 47.97) | color: lab(48.07 65.65 47.97) | |
| LCH | lch(48.07 81.31 36.16) | color: lch(48.07 81.31 36.16) |
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)
#8E8D25 — rgb(142, 141, 37)
Deuteranopia (Green-blind)
#99A626 — rgb(153, 166, 38)
Tritanopia (Blue-blind)
#D22727 — rgb(210, 39, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 72%, 50%);
text
color: hsl(2, 72%, 50%);
border
border: 2px solid hsl(2, 72%, 50%);
gradient light
background: linear-gradient(to right, hsl(2, 72%, 70%), hsl(2, 72%, 50%));
gradient dark
background: linear-gradient(to right, hsl(2, 72%, 50%), hsl(2, 72%, 30%))
hex
background-color: #DB2A24;
tailwind
bg-[hsl(2,72%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 72%, 50%, 0.4);
css variable
--color-primary: hsl(2, 72%, 50%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 72%, 50%)?
HEX: #DB2A24 | RGB: rgb(219, 42, 36) | CMYK: 0%, 81%, 84%, 14% | HSV: 2°, 84%, 86%. Copy any format from the conversion table above.
What colors go well with #DB2A24?
The complementary color is HSL(182, 72%, 50%). 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, 72%, 50%) in CSS?
As HSL: color: hsl(2, 72%, 50%); — As HEX: color: #DB2A24; — As RGB: color: rgb(219, 42, 36); — Tailwind CSS: bg-[hsl(2,72%,50%)] — CSS variable: --color-primary: hsl(2, 72%, 50%);