Skip to content
Kolorvia
#512f48

Color #512f48

A muted dark magenta.

Conversions

HEX
#512f48
RGB
rgb(81, 47, 72)
HSL
hsl(315.9, 26.6%, 25.1%)
HSV / HSB
hsv(315.9, 42%, 31.8%)
CMYK
cmyk(0%, 42%, 11.1%, 68.2%)
LAB
lab(24.48, 19.83, -8.99)
LCH
lch(24.48, 21.77, 335.61)
OKLCH
oklch(35.7%, 0.0623, 337.22)
HWB
hwb(315.9, 18.4%, 68.2%)

Harmony colors

Complementary

#2f5138

Analogous

#492f51
#512f48
#512f37

Triadic

#512f48
#48512f
#2f4851

Split-complementary

#512f48
#37512f
#2f5149

Tetradic

#512f48
#51382f
#2f5138
#2f4851

Square

#512f48
#51492f
#2f5138
#2f3751

Shades

Color #512f48 mixed toward black.

#44273c
#361f30
#291724
#1b1018
#0e080c

Tints

Color #512f48 mixed toward white.

#79466c
#a25e90
#b986ab
#d0aec7
#e8d7e3

Tones

Color #512f48 mixed toward gray.

#4e3247
#4b3545
#493744
#463a43
#433d41

Accessibility

Aa White text on this color
11.35:1
Aa Black text on this color
1.85:1

White text reads better on this background (11.35:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#454443 · ΔE 18.6

Deuteranopia

#464942 · ΔE 25.9

Tritanopia

#503f3e · ΔE 13

Achromatopsia

#3a3a3a · ΔE 18.1

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #512f48;
Tailwind (arbitrary value)
bg-[#512f48]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Orchid #da70d6
Hot Pink #ff69b4
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#512f48 (#512f48) is rgb(81, 47, 72) in RGB.

No, #512f48 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #512f48, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.