HSL(345, 50%, 70%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(345,50%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(345, 50%, 70%) | color: hsl(345, 50%, 70%) | |
| HEX | #D98C9F | color: #D98C9F | |
| RGB | rgb(217, 140, 159) | color: rgb(217, 140, 159) | |
| CMYK | cmyk(0%, 35%, 27%, 15%) | — | |
| HSV | hsv(345, 35%, 85%) | — | |
| HWB | hwb(345 55% 15%) | color: hwb(345 55% 15%) | |
| OKLCH | oklch(0.7237 0.0963 3.7) | color: oklch(0.7237 0.0963 3.7) | |
| Lab | lab(66.53 31.79 2.21) | color: lab(66.53 31.79 2.21) | |
| LCH | lch(66.53 31.87 3.98) | color: lch(66.53 31.87 3.98) |
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)
#B8B79A — rgb(184, 183, 154)
Deuteranopia (Green-blind)
#BCC299 — rgb(188, 194, 153)
Tritanopia (Blue-blind)
#D59796 — rgb(213, 151, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(345, 50%, 70%);
text
color: hsl(345, 50%, 70%);
border
border: 2px solid hsl(345, 50%, 70%);
gradient light
background: linear-gradient(to right, hsl(345, 50%, 90%), hsl(345, 50%, 70%));
gradient dark
background: linear-gradient(to right, hsl(345, 50%, 70%), hsl(345, 50%, 50%))
hex
background-color: #D98C9F;
tailwind
bg-[hsl(345,50%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(345, 50%, 70%, 0.4);
css variable
--color-primary: hsl(345, 50%, 70%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(345, 50%, 70%)?
HEX: #D98C9F | RGB: rgb(217, 140, 159) | CMYK: 0%, 35%, 27%, 15% | HSV: 345°, 35%, 85%. Copy any format from the conversion table above.
What colors go well with #D98C9F?
The complementary color is HSL(165, 50%, 70%). For a triadic harmony, use hues 345°, 105°, and 225°. For analogous combinations, try hues 315° and 15°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(345, 50%, 70%) in CSS?
As HSL: color: hsl(345, 50%, 70%); — As HEX: color: #D98C9F; — As RGB: color: rgb(217, 140, 159); — Tailwind CSS: bg-[hsl(345,50%,70%)] — CSS variable: --color-primary: hsl(345, 50%, 70%);