HSL(2, 35%, 52%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,35%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 35%, 52%) | color: hsl(2, 35%, 52%) | |
| HEX | #AF5D5A | color: #AF5D5A | |
| RGB | rgb(175, 93, 90) | color: rgb(175, 93, 90) | |
| CMYK | cmyk(0%, 47%, 49%, 31%) | — | |
| HSV | hsv(2, 49%, 69%) | — | |
| HWB | hwb(2 35% 31%) | color: hwb(2 35% 31%) | |
| OKLCH | oklch(0.5739 0.1072 23.16) | color: oklch(0.5739 0.1072 23.16) | |
| Lab | lab(49.11 32.91 16.77) | color: lab(49.11 32.91 16.77) | |
| LCH | lch(49.11 36.94 27) | color: lch(49.11 36.94 27) |
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)
#8B8B5B — rgb(139, 139, 91)
Deuteranopia (Green-blind)
#90965B — rgb(144, 150, 91)
Tritanopia (Blue-blind)
#AB5B5B — rgb(171, 91, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 35%, 52%);
text
color: hsl(2, 35%, 52%);
border
border: 2px solid hsl(2, 35%, 52%);
gradient light
background: linear-gradient(to right, hsl(2, 35%, 72%), hsl(2, 35%, 52%));
gradient dark
background: linear-gradient(to right, hsl(2, 35%, 52%), hsl(2, 35%, 32%))
hex
background-color: #AF5D5A;
tailwind
bg-[hsl(2,35%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 35%, 52%, 0.4);
css variable
--color-primary: hsl(2, 35%, 52%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 35%, 52%)?
HEX: #AF5D5A | RGB: rgb(175, 93, 90) | CMYK: 0%, 47%, 49%, 31% | HSV: 2°, 49%, 69%. Copy any format from the conversion table above.
What colors go well with #AF5D5A?
The complementary color is HSL(182, 35%, 52%). 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, 35%, 52%) in CSS?
As HSL: color: hsl(2, 35%, 52%); — As HEX: color: #AF5D5A; — As RGB: color: rgb(175, 93, 90); — Tailwind CSS: bg-[hsl(2,35%,52%)] — CSS variable: --color-primary: hsl(2, 35%, 52%);