HSL(334, 20%, 13%)
Very Dark Pink — Pink color
Adjust Color
Color Information
Color Name
Very Dark Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(334,20%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(334, 20%, 13%) | color: hsl(334, 20%, 13%) | |
| HEX | #281B20 | color: #281B20 | |
| RGB | rgb(40, 27, 32) | color: rgb(40, 27, 32) | |
| CMYK | cmyk(0%, 33%, 20%, 84%) | — | |
| HSV | hsv(337, 33%, 16%) | — | |
| HWB | hwb(337 11% 84%) | color: hwb(337 11% 84%) | |
| OKLCH | oklch(0.2403 0.0223 354.02) | color: oklch(0.2403 0.0223 354.02) | |
| Lab | lab(11.55 7.44 -0.92) | color: lab(11.55 7.44 -0.92) | |
| LCH | lch(11.55 7.5 352.95) | color: lch(11.55 7.5 352.95) |
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)
#22221F — rgb(34, 34, 31)
Deuteranopia (Green-blind)
#23241F — rgb(35, 36, 31)
Tritanopia (Blue-blind)
#271E1E — rgb(39, 30, 30)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(334, 20%, 13%);
text
color: hsl(334, 20%, 13%);
border
border: 2px solid hsl(334, 20%, 13%);
gradient light
background: linear-gradient(to right, hsl(334, 20%, 33%), hsl(334, 20%, 13%));
gradient dark
background: linear-gradient(to right, hsl(334, 20%, 13%), hsl(334, 20%, 0%))
hex
background-color: #281B20;
tailwind
bg-[hsl(334,20%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(334, 20%, 13%, 0.4);
css variable
--color-primary: hsl(334, 20%, 13%);
Related Colors
Use Cases for Very Dark Pink
Frequently Asked Questions
What are all the color codes for HSL(334, 20%, 13%)?
HEX: #281B20 | RGB: rgb(40, 27, 32) | CMYK: 0%, 33%, 20%, 84% | HSV: 337°, 33%, 16%. Copy any format from the conversion table above.
What colors go well with #281B20?
The complementary color is HSL(154, 20%, 13%). For a triadic harmony, use hues 334°, 94°, and 214°. For analogous combinations, try hues 304° and 4°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(334, 20%, 13%) in CSS?
As HSL: color: hsl(334, 20%, 13%); — As HEX: color: #281B20; — As RGB: color: rgb(40, 27, 32); — Tailwind CSS: bg-[hsl(334,20%,13%)] — CSS variable: --color-primary: hsl(334, 20%, 13%);