HSL(2, 67%, 38%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,67%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 67%, 38%) | color: hsl(2, 67%, 38%) | |
| HEX | #A22420 | color: #A22420 | |
| RGB | rgb(162, 36, 32) | color: rgb(162, 36, 32) | |
| CMYK | cmyk(0%, 78%, 80%, 36%) | — | |
| HSV | hsv(2, 80%, 64%) | — | |
| HWB | hwb(2 13% 36%) | color: hwb(2 13% 36%) | |
| OKLCH | oklch(0.4684 0.1629 27.52) | color: oklch(0.4684 0.1629 27.52) | |
| Lab | lab(36.08 50.4 34.66) | color: lab(36.08 50.4 34.66) | |
| LCH | lch(36.08 61.17 34.52) | color: lch(36.08 61.17 34.52) |
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)
#6B6A21 — rgb(107, 106, 33)
Deuteranopia (Green-blind)
#737C21 — rgb(115, 124, 33)
Tritanopia (Blue-blind)
#9C2222 — rgb(156, 34, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 67%, 38%);
text
color: hsl(2, 67%, 38%);
border
border: 2px solid hsl(2, 67%, 38%);
gradient light
background: linear-gradient(to right, hsl(2, 67%, 58%), hsl(2, 67%, 38%));
gradient dark
background: linear-gradient(to right, hsl(2, 67%, 38%), hsl(2, 67%, 18%))
hex
background-color: #A22420;
tailwind
bg-[hsl(2,67%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 67%, 38%, 0.4);
css variable
--color-primary: hsl(2, 67%, 38%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 67%, 38%)?
HEX: #A22420 | RGB: rgb(162, 36, 32) | CMYK: 0%, 78%, 80%, 36% | HSV: 2°, 80%, 64%. Copy any format from the conversion table above.
What colors go well with #A22420?
The complementary color is HSL(182, 67%, 38%). 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, 67%, 38%) in CSS?
As HSL: color: hsl(2, 67%, 38%); — As HEX: color: #A22420; — As RGB: color: rgb(162, 36, 32); — Tailwind CSS: bg-[hsl(2,67%,38%)] — CSS variable: --color-primary: hsl(2, 67%, 38%);