HSL(4, 92%, 81%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(4,92%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(4, 92%, 81%) | color: hsl(4, 92%, 81%) | |
| HEX | #FBA8A2 | color: #FBA8A2 | |
| RGB | rgb(251, 168, 162) | color: rgb(251, 168, 162) | |
| CMYK | cmyk(0%, 33%, 35%, 2%) | — | |
| HSV | hsv(4, 35%, 98%) | — | |
| HWB | hwb(4 64% 2%) | color: hwb(4 64% 2%) | |
| OKLCH | oklch(0.811 0.0991 24.03) | color: oklch(0.811 0.0991 24.03) | |
| Lab | lab(76.76 29.84 15.66) | color: lab(76.76 29.84 15.66) | |
| LCH | lch(76.76 33.7 27.69) | color: lch(76.76 33.7 27.69) |
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)
#D7D6A3 — rgb(215, 214, 163)
Deuteranopia (Green-blind)
#DCE2A4 — rgb(220, 226, 164)
Tritanopia (Blue-blind)
#F7A5A5 — rgb(247, 165, 165)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(4, 92%, 81%);
text
color: hsl(4, 92%, 81%);
border
border: 2px solid hsl(4, 92%, 81%);
gradient light
background: linear-gradient(to right, hsl(4, 92%, 100%), hsl(4, 92%, 81%));
gradient dark
background: linear-gradient(to right, hsl(4, 92%, 81%), hsl(4, 92%, 61%))
hex
background-color: #FBA8A2;
tailwind
bg-[hsl(4,92%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(4, 92%, 81%, 0.4);
css variable
--color-primary: hsl(4, 92%, 81%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(4, 92%, 81%)?
HEX: #FBA8A2 | RGB: rgb(251, 168, 162) | CMYK: 0%, 33%, 35%, 2% | HSV: 4°, 35%, 98%. Copy any format from the conversion table above.
What colors go well with #FBA8A2?
The complementary color is HSL(184, 92%, 81%). For a triadic harmony, use hues 4°, 124°, and 244°. For analogous combinations, try hues 334° and 34°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(4, 92%, 81%) in CSS?
As HSL: color: hsl(4, 92%, 81%); — As HEX: color: #FBA8A2; — As RGB: color: rgb(251, 168, 162); — Tailwind CSS: bg-[hsl(4,92%,81%)] — CSS variable: --color-primary: hsl(4, 92%, 81%);