HSL(6, 70%, 52%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(6,70%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(6, 70%, 52%) | color: hsl(6, 70%, 52%) | |
| HEX | #DA402F | color: #DA402F | |
| RGB | rgb(218, 64, 47) | color: rgb(218, 64, 47) | |
| CMYK | cmyk(0%, 71%, 78%, 15%) | — | |
| HSV | hsv(6, 78%, 85%) | — | |
| HWB | hwb(6 19% 15%) | color: hwb(6 19% 15%) | |
| OKLCH | oklch(0.5952 0.1935 30.04) | color: oklch(0.5952 0.1935 30.04) | |
| Lab | lab(50.43 58.8 44.54) | color: lab(50.43 58.8 44.54) | |
| LCH | lch(50.43 73.76 37.14) | color: lch(50.43 73.76 37.14) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#979633 — rgb(151, 150, 51)
Deuteranopia (Green-blind)
#A0AC34 — rgb(160, 172, 52)
Tritanopia (Blue-blind)
#D23637 — rgb(210, 54, 55)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(6, 70%, 52%);
text
color: hsl(6, 70%, 52%);
border
border: 2px solid hsl(6, 70%, 52%);
gradient light
background: linear-gradient(to right, hsl(6, 70%, 72%), hsl(6, 70%, 52%));
gradient dark
background: linear-gradient(to right, hsl(6, 70%, 52%), hsl(6, 70%, 32%))
hex
background-color: #DA402F;
tailwind
bg-[hsl(6,70%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(6, 70%, 52%, 0.4);
css variable
--color-primary: hsl(6, 70%, 52%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(6, 70%, 52%)?
HEX: #DA402F | RGB: rgb(218, 64, 47) | CMYK: 0%, 71%, 78%, 15% | HSV: 6°, 78%, 85%. Copy any format from the conversion table above.
What colors go well with #DA402F?
The complementary color is HSL(186, 70%, 52%). 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, 70%, 52%) in CSS?
As HSL: color: hsl(6, 70%, 52%); — As HEX: color: #DA402F; — As RGB: color: rgb(218, 64, 47); — Tailwind CSS: bg-[hsl(6,70%,52%)] — CSS variable: --color-primary: hsl(6, 70%, 52%);