HSL(4, 30%, 60%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(4,30%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(4, 30%, 60%) | color: hsl(4, 30%, 60%) | |
| HEX | #B87E7A | color: #B87E7A | |
| RGB | rgb(184, 126, 122) | color: rgb(184, 126, 122) | |
| CMYK | cmyk(0%, 32%, 34%, 28%) | — | |
| HSV | hsv(4, 34%, 72%) | — | |
| HWB | hwb(4 48% 28%) | color: hwb(4 48% 28%) | |
| OKLCH | oklch(0.6508 0.073 23.65) | color: oklch(0.6508 0.073 23.65) | |
| Lab | lab(58.53 21.98 11.3) | color: lab(58.53 21.98 11.3) | |
| LCH | lch(58.53 24.71 27.21) | color: lch(58.53 24.71 27.21) |
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)
#9F9E7B — rgb(159, 158, 123)
Deuteranopia (Green-blind)
#A2A77B — rgb(162, 167, 123)
Tritanopia (Blue-blind)
#B57C7C — rgb(181, 124, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(4, 30%, 60%);
text
color: hsl(4, 30%, 60%);
border
border: 2px solid hsl(4, 30%, 60%);
gradient light
background: linear-gradient(to right, hsl(4, 30%, 80%), hsl(4, 30%, 60%));
gradient dark
background: linear-gradient(to right, hsl(4, 30%, 60%), hsl(4, 30%, 40%))
hex
background-color: #B87E7A;
tailwind
bg-[hsl(4,30%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(4, 30%, 60%, 0.4);
css variable
--color-primary: hsl(4, 30%, 60%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(4, 30%, 60%)?
HEX: #B87E7A | RGB: rgb(184, 126, 122) | CMYK: 0%, 32%, 34%, 28% | HSV: 4°, 34%, 72%. Copy any format from the conversion table above.
What colors go well with #B87E7A?
The complementary color is HSL(184, 30%, 60%). 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, 30%, 60%) in CSS?
As HSL: color: hsl(4, 30%, 60%); — As HEX: color: #B87E7A; — As RGB: color: rgb(184, 126, 122); — Tailwind CSS: bg-[hsl(4,30%,60%)] — CSS variable: --color-primary: hsl(4, 30%, 60%);