Accessibility
Vs white / black
13.13:1 · 1.6:1
Sources
Codes
HEX
#3a2c39
RGB
rgb(58, 44, 57)
RGBA
rgba(58, 44, 57, 1)
HSL
hsl(304, 14%, 20%)
HSLA
hsla(304, 14%, 20%, 1)
HSV
hsv(304, 24%, 23%)
LAB
lab(20.03% 9.19 -5.83)
LCH
lch(20.03% 10.88 327.61)
OKLAB
oklab(0.3142 0.0256 -0.0156)
OKLCH
oklch(0.3142 0.03 328.64)
XYZ
xyz(3.38, 3.00, 4.27)
CMYK
cmyk(0%, 24%, 2%, 77%)
CSS
color: #3a2c39;
CSS variable
--color-3a2c39: #3a2c39;
SCSS
$color-3a2c39: #3a2c39;
JavaScript
const color = "#3a2c39";
TypeScript
const color: string = "#3a2c39";
React
style={{ backgroundColor: "#3a2c39" }}
JSON
{ "hex": "#3a2c39", "rgb": { "r": 58, "g": 44, "b": 57 }, "oklch": "oklch(0.3142 0.03 328.64)" }
Export
:root {
--#3a2c39-1: #3a2c39;
}Design systems
An arbitrary HEX is not an official Tailwind, Material, or Bootstrap color. Distance is CIEDE2000.
Nearest Tailwind color
zinc-700
Very different · ΔE 9.72 · #3F3F46
Nearest CSS named color
Black
Very different · ΔE 16.81 · #000000
Nearest Material color
brown-900
Very different · ΔE 9.96 · #3E2723
Nearest Bootstrap color
dark
Very different · ΔE 12.75 · #212529
OKLCH
Generated in OKLCH from this hex. Not an official Tailwind scale unless the hex itself is a Tailwind token.
Palette
Full scale from light tints through the base color into deep shades
Palette
Mixed toward white — soft backgrounds and highlights
Palette
Mixed toward black — depth, text, and emphasis
Palette
Mixed toward neutral grey — muted UI surfaces
Harmony
Opposite on the color wheel for contrast
Harmony
Neighbors that sit comfortably together
Harmony
Evenly spaced triad for vibrant sets
Harmony
Base plus two accents beside the complement
Harmony
Same hue, varied lightness and saturation
Using this color
#3A2C39 (#3a2c39) sits in the pink family at about 304° hue, 14% saturation, and 20% lightness. Contrast is 13.13:1 on white and 1.6:1 on black, so white labels read more clearly on the swatch itself. Nearest Tailwind token: zinc-700 (approximation unless the hex is an official scale stop).
Sensible jobs for this swatch
On a black or near-black UI, #3a2c39 is 1.6:1. Prefer it as a fill, border, or large heading rather than 16px copy.
Family context: Compassion, playfulness, and romance. Popular in beauty, lifestyle, and youth-focused products. Common uses still include buttons, charts, and accents in the Pink range — always verify the pair for this exact hex in the contrast checker.
Related
Nearby colors from the library by perceptual distance