HSL(9, 40%, 52%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(9,40%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(9, 40%, 52%) | color: hsl(9, 40%, 52%) | |
| HEX | #B66254 | color: #B66254 | |
| RGB | rgb(182, 98, 84) | color: rgb(182, 98, 84) | |
| CMYK | cmyk(0%, 46%, 54%, 29%) | — | |
| HSV | hsv(9, 54%, 71%) | — | |
| HWB | hwb(9 33% 29%) | color: hwb(9 33% 29%) | |
| OKLCH | oklch(0.5904 0.1113 30.63) | color: oklch(0.5904 0.1113 30.63) | |
| Lab | lab(51.06 32.41 23.09) | color: lab(51.06 32.41 23.09) | |
| LCH | lch(51.06 39.79 35.47) | color: lch(51.06 39.79 35.47) |
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)
#929157 — rgb(146, 145, 87)
Deuteranopia (Green-blind)
#979D58 — rgb(151, 157, 88)
Tritanopia (Blue-blind)
#B25A5B — rgb(178, 90, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(9, 40%, 52%);
text
color: hsl(9, 40%, 52%);
border
border: 2px solid hsl(9, 40%, 52%);
gradient light
background: linear-gradient(to right, hsl(9, 40%, 72%), hsl(9, 40%, 52%));
gradient dark
background: linear-gradient(to right, hsl(9, 40%, 52%), hsl(9, 40%, 32%))
hex
background-color: #B66254;
tailwind
bg-[hsl(9,40%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(9, 40%, 52%, 0.4);
css variable
--color-primary: hsl(9, 40%, 52%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(9, 40%, 52%)?
HEX: #B66254 | RGB: rgb(182, 98, 84) | CMYK: 0%, 46%, 54%, 29% | HSV: 9°, 54%, 71%. Copy any format from the conversion table above.
What colors go well with #B66254?
The complementary color is HSL(189, 40%, 52%). For a triadic harmony, use hues 9°, 129°, and 249°. For analogous combinations, try hues 339° and 39°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(9, 40%, 52%) in CSS?
As HSL: color: hsl(9, 40%, 52%); — As HEX: color: #B66254; — As RGB: color: rgb(182, 98, 84); — Tailwind CSS: bg-[hsl(9,40%,52%)] — CSS variable: --color-primary: hsl(9, 40%, 52%);