HSL(7, 20%, 74%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(7,20%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 20%, 74%) | color: hsl(7, 20%, 74%) | |
| HEX | #CAB3AF | color: #CAB3AF | |
| RGB | rgb(202, 179, 175) | color: rgb(202, 179, 175) | |
| CMYK | cmyk(0%, 11%, 13%, 21%) | — | |
| HSV | hsv(9, 13%, 79%) | — | |
| HWB | hwb(9 69% 21%) | color: hwb(9 69% 21%) | |
| OKLCH | oklch(0.7853 0.0272 29.46) | color: oklch(0.7853 0.0272 29.46) | |
| Lab | lab(74.76 7.57 5.06) | color: lab(74.76 7.57 5.06) | |
| LCH | lch(74.76 9.11 33.76) | color: lch(74.76 9.11 33.76) |
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)
#C0C0B0 — rgb(192, 192, 176)
Deuteranopia (Green-blind)
#C1C3B0 — rgb(193, 195, 176)
Tritanopia (Blue-blind)
#C9B1B1 — rgb(201, 177, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 20%, 74%);
text
color: hsl(7, 20%, 74%);
border
border: 2px solid hsl(7, 20%, 74%);
gradient light
background: linear-gradient(to right, hsl(7, 20%, 94%), hsl(7, 20%, 74%));
gradient dark
background: linear-gradient(to right, hsl(7, 20%, 74%), hsl(7, 20%, 54%))
hex
background-color: #CAB3AF;
tailwind
bg-[hsl(7,20%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 20%, 74%, 0.4);
css variable
--color-primary: hsl(7, 20%, 74%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(7, 20%, 74%)?
HEX: #CAB3AF | RGB: rgb(202, 179, 175) | CMYK: 0%, 11%, 13%, 21% | HSV: 9°, 13%, 79%. Copy any format from the conversion table above.
What colors go well with #CAB3AF?
The complementary color is HSL(187, 20%, 74%). For a triadic harmony, use hues 7°, 127°, and 247°. For analogous combinations, try hues 337° and 37°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(7, 20%, 74%) in CSS?
As HSL: color: hsl(7, 20%, 74%); — As HEX: color: #CAB3AF; — As RGB: color: rgb(202, 179, 175); — Tailwind CSS: bg-[hsl(7,20%,74%)] — CSS variable: --color-primary: hsl(7, 20%, 74%);