HSL(9, 40%, 79%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(9,40%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(9, 40%, 79%) | color: hsl(9, 40%, 79%) | |
| HEX | #DFBAB4 | color: #DFBAB4 | |
| RGB | rgb(223, 186, 180) | color: rgb(223, 186, 180) | |
| CMYK | cmyk(0%, 17%, 19%, 13%) | — | |
| HSV | hsv(8, 19%, 87%) | — | |
| HWB | hwb(8 70% 13%) | color: hwb(8 70% 13%) | |
| OKLCH | oklch(0.8195 0.0436 28.83) | color: oklch(0.8195 0.0436 28.83) | |
| Lab | lab(78.52 12.32 8) | color: lab(78.52 12.32 8) | |
| LCH | lch(78.52 14.69 33) | color: lch(78.52 14.69 33) |
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)
#CFCFB5 — rgb(207, 207, 181)
Deuteranopia (Green-blind)
#D1D4B6 — rgb(209, 212, 182)
Tritanopia (Blue-blind)
#DDB7B7 — rgb(221, 183, 183)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(9, 40%, 79%);
text
color: hsl(9, 40%, 79%);
border
border: 2px solid hsl(9, 40%, 79%);
gradient light
background: linear-gradient(to right, hsl(9, 40%, 99%), hsl(9, 40%, 79%));
gradient dark
background: linear-gradient(to right, hsl(9, 40%, 79%), hsl(9, 40%, 59%))
hex
background-color: #DFBAB4;
tailwind
bg-[hsl(9,40%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(9, 40%, 79%, 0.4);
css variable
--color-primary: hsl(9, 40%, 79%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(9, 40%, 79%)?
HEX: #DFBAB4 | RGB: rgb(223, 186, 180) | CMYK: 0%, 17%, 19%, 13% | HSV: 8°, 19%, 87%. Copy any format from the conversion table above.
What colors go well with #DFBAB4?
The complementary color is HSL(189, 40%, 79%). 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%, 79%) in CSS?
As HSL: color: hsl(9, 40%, 79%); — As HEX: color: #DFBAB4; — As RGB: color: rgb(223, 186, 180); — Tailwind CSS: bg-[hsl(9,40%,79%)] — CSS variable: --color-primary: hsl(9, 40%, 79%);