HSL(2, 70%, 81%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,70%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 70%, 81%) | color: hsl(2, 70%, 81%) | |
| HEX | #F0AFAD | color: #F0AFAD | |
| RGB | rgb(240, 175, 173) | color: rgb(240, 175, 173) | |
| CMYK | cmyk(0%, 27%, 28%, 6%) | — | |
| HSV | hsv(2, 28%, 94%) | — | |
| HWB | hwb(2 68% 6%) | color: hwb(2 68% 6%) | |
| OKLCH | oklch(0.8141 0.0766 20.87) | color: oklch(0.8141 0.0766 20.87) | |
| Lab | lab(77.4 23.46 10.42) | color: lab(77.4 23.46 10.42) | |
| LCH | lch(77.4 25.67 23.95) | color: lch(77.4 25.67 23.95) |
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)
#D4D3AD — rgb(212, 211, 173)
Deuteranopia (Green-blind)
#D8DDAE — rgb(216, 221, 174)
Tritanopia (Blue-blind)
#EDAEAE — rgb(237, 174, 174)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 70%, 81%);
text
color: hsl(2, 70%, 81%);
border
border: 2px solid hsl(2, 70%, 81%);
gradient light
background: linear-gradient(to right, hsl(2, 70%, 100%), hsl(2, 70%, 81%));
gradient dark
background: linear-gradient(to right, hsl(2, 70%, 81%), hsl(2, 70%, 61%))
hex
background-color: #F0AFAD;
tailwind
bg-[hsl(2,70%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 70%, 81%, 0.4);
css variable
--color-primary: hsl(2, 70%, 81%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 70%, 81%)?
HEX: #F0AFAD | RGB: rgb(240, 175, 173) | CMYK: 0%, 27%, 28%, 6% | HSV: 2°, 28%, 94%. Copy any format from the conversion table above.
What colors go well with #F0AFAD?
The complementary color is HSL(182, 70%, 81%). 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, 70%, 81%) in CSS?
As HSL: color: hsl(2, 70%, 81%); — As HEX: color: #F0AFAD; — As RGB: color: rgb(240, 175, 173); — Tailwind CSS: bg-[hsl(2,70%,81%)] — CSS variable: --color-primary: hsl(2, 70%, 81%);