HSL(5, 20%, 74%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(5,20%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(5, 20%, 74%) | color: hsl(5, 20%, 74%) | |
| HEX | #CAB2AF | color: #CAB2AF | |
| RGB | rgb(202, 178, 175) | color: rgb(202, 178, 175) | |
| CMYK | cmyk(0%, 12%, 13%, 21%) | — | |
| HSV | hsv(7, 13%, 79%) | — | |
| HWB | hwb(7 69% 21%) | color: hwb(7 69% 21%) | |
| OKLCH | oklch(0.7833 0.0281 26.25) | color: oklch(0.7833 0.0281 26.25) | |
| Lab | lab(74.5 8.11 4.69) | color: lab(74.5 8.11 4.69) | |
| LCH | lch(74.5 9.37 30.04) | color: lch(74.5 9.37 30.04) |
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)
#C0BFB0 — rgb(192, 191, 176)
Deuteranopia (Green-blind)
#C1C3B0 — rgb(193, 195, 176)
Tritanopia (Blue-blind)
#C9B0B0 — rgb(201, 176, 176)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(5, 20%, 74%);
text
color: hsl(5, 20%, 74%);
border
border: 2px solid hsl(5, 20%, 74%);
gradient light
background: linear-gradient(to right, hsl(5, 20%, 94%), hsl(5, 20%, 74%));
gradient dark
background: linear-gradient(to right, hsl(5, 20%, 74%), hsl(5, 20%, 54%))
hex
background-color: #CAB2AF;
tailwind
bg-[hsl(5,20%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(5, 20%, 74%, 0.4);
css variable
--color-primary: hsl(5, 20%, 74%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(5, 20%, 74%)?
HEX: #CAB2AF | RGB: rgb(202, 178, 175) | CMYK: 0%, 12%, 13%, 21% | HSV: 7°, 13%, 79%. Copy any format from the conversion table above.
What colors go well with #CAB2AF?
The complementary color is HSL(185, 20%, 74%). For a triadic harmony, use hues 5°, 125°, and 245°. For analogous combinations, try hues 335° and 35°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(5, 20%, 74%) in CSS?
As HSL: color: hsl(5, 20%, 74%); — As HEX: color: #CAB2AF; — As RGB: color: rgb(202, 178, 175); — Tailwind CSS: bg-[hsl(5,20%,74%)] — CSS variable: --color-primary: hsl(5, 20%, 74%);