HSL(9, 40%, 74%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(9,40%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(9, 40%, 74%) | color: hsl(9, 40%, 74%) | |
| HEX | #D7AAA2 | color: #D7AAA2 | |
| RGB | rgb(215, 170, 162) | color: rgb(215, 170, 162) | |
| CMYK | cmyk(0%, 21%, 25%, 16%) | — | |
| HSV | hsv(9, 25%, 84%) | — | |
| HWB | hwb(9 63% 16%) | color: hwb(9 63% 16%) | |
| OKLCH | oklch(0.7767 0.0544 29.96) | color: oklch(0.7767 0.0544 29.96) | |
| Lab | lab(73.42 15.27 10.41) | color: lab(73.42 15.27 10.41) | |
| LCH | lch(73.42 18.48 34.28) | color: lch(73.42 18.48 34.28) |
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)
#C4C3A4 — rgb(196, 195, 164)
Deuteranopia (Green-blind)
#C6CAA4 — rgb(198, 202, 164)
Tritanopia (Blue-blind)
#D5A5A6 — rgb(213, 165, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(9, 40%, 74%);
text
color: hsl(9, 40%, 74%);
border
border: 2px solid hsl(9, 40%, 74%);
gradient light
background: linear-gradient(to right, hsl(9, 40%, 94%), hsl(9, 40%, 74%));
gradient dark
background: linear-gradient(to right, hsl(9, 40%, 74%), hsl(9, 40%, 54%))
hex
background-color: #D7AAA2;
tailwind
bg-[hsl(9,40%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(9, 40%, 74%, 0.4);
css variable
--color-primary: hsl(9, 40%, 74%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(9, 40%, 74%)?
HEX: #D7AAA2 | RGB: rgb(215, 170, 162) | CMYK: 0%, 21%, 25%, 16% | HSV: 9°, 25%, 84%. Copy any format from the conversion table above.
What colors go well with #D7AAA2?
The complementary color is HSL(189, 40%, 74%). 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%, 74%) in CSS?
As HSL: color: hsl(9, 40%, 74%); — As HEX: color: #D7AAA2; — As RGB: color: rgb(215, 170, 162); — Tailwind CSS: bg-[hsl(9,40%,74%)] — CSS variable: --color-primary: hsl(9, 40%, 74%);