Skip to content
Kolorvia
#5a5258

Color #5a5258

A nearly neutral, gray-leaning dark magenta.

Conversions

HEX
#5a5258
RGB
rgb(90, 82, 88)
HSL
hsl(315, 4.7%, 33.7%)
HSV / HSB
hsv(315, 8.9%, 35.3%)
CMYK
cmyk(0%, 8.9%, 2.2%, 64.7%)
LAB
lab(35.82, 4.51, -2.31)
LCH
lch(35.82, 5.07, 332.88)
OKLCH
oklch(44.8%, 0.0141, 334.34)
HWB
hwb(315, 32.2%, 64.7%)

Harmony colors

Complementary

#525a54

Analogous

#58525a
#5a5258
#5a5254

Triadic

#5a5258
#585a52
#52585a

Split-complementary

#5a5258
#545a52
#525a58

Tetradic

#5a5258
#5a5452
#525a54
#52585a

Square

#5a5258
#5a5852
#525a54
#52545a

Shades

Color #5a5258 mixed toward black.

#4b4449
#3c373b
#2d292c
#1e1b1d
#0f0e0f

Tints

Color #5a5258 mixed toward white.

#776d75
#948991
#aea6ac
#c9c4c8
#e4e1e3

Tones

Color #5a5258 mixed toward gray.

#595358
#595357
#585457
#575557
#575556

Accessibility

Aa White text on this color
7.55:1
Aa Black text on this color
2.78:1

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

Under color vision deficiencies

Protanopia

#575757 · ΔE 6.2

Deuteranopia

#575856 · ΔE 8

Tritanopia

#5a5555 · ΔE 4.1

Achromatopsia

#545454 · ΔE 6.2

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

Code

CSS
background-color: #5a5258;
Tailwind (arbitrary value)
bg-[#5a5258]

Related colors

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

Frequently asked questions

#5a5258 (#5a5258) is rgb(90, 82, 88) in RGB.

No, #5a5258 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 #5a5258, 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.