HSL(2, 22%, 71%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,22%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 22%, 71%) | color: hsl(2, 22%, 71%) | |
| HEX | #C5A6A5 | color: #C5A6A5 | |
| RGB | rgb(197, 166, 165) | color: rgb(197, 166, 165) | |
| CMYK | cmyk(0%, 16%, 16%, 23%) | — | |
| HSV | hsv(2, 16%, 77%) | — | |
| HWB | hwb(2 65% 23%) | color: hwb(2 65% 23%) | |
| OKLCH | oklch(0.7523 0.0365 20.18) | color: oklch(0.7523 0.0365 20.18) | |
| Lab | lab(70.77 11.15 4.74) | color: lab(70.77 11.15 4.74) | |
| LCH | lch(70.77 12.12 23.03) | color: lch(70.77 12.12 23.03) |
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)
#B8B7A5 — rgb(184, 183, 165)
Deuteranopia (Green-blind)
#B9BCA5 — rgb(185, 188, 165)
Tritanopia (Blue-blind)
#C3A5A5 — rgb(195, 165, 165)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 22%, 71%);
text
color: hsl(2, 22%, 71%);
border
border: 2px solid hsl(2, 22%, 71%);
gradient light
background: linear-gradient(to right, hsl(2, 22%, 91%), hsl(2, 22%, 71%));
gradient dark
background: linear-gradient(to right, hsl(2, 22%, 71%), hsl(2, 22%, 51%))
hex
background-color: #C5A6A5;
tailwind
bg-[hsl(2,22%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 22%, 71%, 0.4);
css variable
--color-primary: hsl(2, 22%, 71%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 22%, 71%)?
HEX: #C5A6A5 | RGB: rgb(197, 166, 165) | CMYK: 0%, 16%, 16%, 23% | HSV: 2°, 16%, 77%. Copy any format from the conversion table above.
What colors go well with #C5A6A5?
The complementary color is HSL(182, 22%, 71%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 22%, 71%) in CSS?
As HSL: color: hsl(2, 22%, 71%); — As HEX: color: #C5A6A5; — As RGB: color: rgb(197, 166, 165); — Tailwind CSS: bg-[hsl(2,22%,71%)] — CSS variable: --color-primary: hsl(2, 22%, 71%);