HSL(4, 40%, 65%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(4,40%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(4, 40%, 65%) | color: hsl(4, 40%, 65%) | |
| HEX | #C98782 | color: #C98782 | |
| RGB | rgb(201, 135, 130) | color: rgb(201, 135, 130) | |
| CMYK | cmyk(0%, 33%, 35%, 21%) | — | |
| HSV | hsv(4, 35%, 79%) | — | |
| HWB | hwb(4 51% 21%) | color: hwb(4 51% 21%) | |
| OKLCH | oklch(0.6888 0.0821 24.2) | color: oklch(0.6888 0.0821 24.2) | |
| Lab | lab(62.81 24.67 13.04) | color: lab(62.81 24.67 13.04) | |
| LCH | lch(62.81 27.9 27.86) | color: lch(62.81 27.9 27.86) |
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)
#ACAC83 — rgb(172, 172, 131)
Deuteranopia (Green-blind)
#B0B584 — rgb(176, 181, 132)
Tritanopia (Blue-blind)
#C68484 — rgb(198, 132, 132)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(4, 40%, 65%);
text
color: hsl(4, 40%, 65%);
border
border: 2px solid hsl(4, 40%, 65%);
gradient light
background: linear-gradient(to right, hsl(4, 40%, 85%), hsl(4, 40%, 65%));
gradient dark
background: linear-gradient(to right, hsl(4, 40%, 65%), hsl(4, 40%, 45%))
hex
background-color: #C98782;
tailwind
bg-[hsl(4,40%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(4, 40%, 65%, 0.4);
css variable
--color-primary: hsl(4, 40%, 65%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(4, 40%, 65%)?
HEX: #C98782 | RGB: rgb(201, 135, 130) | CMYK: 0%, 33%, 35%, 21% | HSV: 4°, 35%, 79%. Copy any format from the conversion table above.
What colors go well with #C98782?
The complementary color is HSL(184, 40%, 65%). 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, 40%, 65%) in CSS?
As HSL: color: hsl(4, 40%, 65%); — As HEX: color: #C98782; — As RGB: color: rgb(201, 135, 130); — Tailwind CSS: bg-[hsl(4,40%,65%)] — CSS variable: --color-primary: hsl(4, 40%, 65%);