HSL(338, 70%, 27%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(338,70%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 70%, 27%) | color: hsl(338, 70%, 27%) | |
| HEX | #751538 | color: #751538 | |
| RGB | rgb(117, 21, 56) | color: rgb(117, 21, 56) | |
| CMYK | cmyk(0%, 82%, 52%, 54%) | — | |
| HSV | hsv(338, 82%, 46%) | — | |
| HWB | hwb(338 8% 54%) | color: hwb(338 8% 54%) | |
| OKLCH | oklch(0.3755 0.1314 4.8) | color: oklch(0.3755 0.1314 4.8) | |
| Lab | lab(25.58 42.78 4.16) | color: lab(25.58 42.78 4.16) | |
| LCH | lch(25.58 42.98 5.55) | color: lch(25.58 42.98 5.55) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#4B4B30 — rgb(75, 75, 48)
Deuteranopia (Green-blind)
#51582E — rgb(81, 88, 46)
Tritanopia (Blue-blind)
#702927 — rgb(112, 41, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 70%, 27%);
text
color: hsl(338, 70%, 27%);
border
border: 2px solid hsl(338, 70%, 27%);
gradient light
background: linear-gradient(to right, hsl(338, 70%, 47%), hsl(338, 70%, 27%));
gradient dark
background: linear-gradient(to right, hsl(338, 70%, 27%), hsl(338, 70%, 7%))
hex
background-color: #751538;
tailwind
bg-[hsl(338,70%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 70%, 27%, 0.4);
css variable
--color-primary: hsl(338, 70%, 27%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 70%, 27%)?
HEX: #751538 | RGB: rgb(117, 21, 56) | CMYK: 0%, 82%, 52%, 54% | HSV: 338°, 82%, 46%. Copy any format from the conversion table above.
What colors go well with #751538?
The complementary color is HSL(158, 70%, 27%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 70%, 27%) in CSS?
As HSL: color: hsl(338, 70%, 27%); — As HEX: color: #751538; — As RGB: color: rgb(117, 21, 56); — Tailwind CSS: bg-[hsl(338,70%,27%)] — CSS variable: --color-primary: hsl(338, 70%, 27%);