Color #c157a2
A moderately saturated medium magenta.
Conversions
#c157a2
rgb(193, 87, 162)
hsl(317.5, 46.1%, 54.9%)
hsv(317.5, 54.9%, 75.7%)
cmyk(0%, 54.9%, 16.1%, 24.3%)
lab(52.69, 51.47, -20.5)
lch(52.69, 55.4, 338.28)
oklch(61.3%, 0.1616, 340.11)
hwb(317.5, 34.1%, 24.3%)
Harmony colors
Accessibility
Black text reads better on this background (5.15:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9e9e94 · ΔE 34.6
Deuteranopia
#a4aa91 · ΔE 44.7
Tritanopia
#bd8885 · ΔE 21.8
Achromatopsia
#7e7e7e · ΔE 25.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c157a2;
bg-[#c157a2]
Related colors
Frequently asked questions
#c157a2 (#c157a2) is rgb(193, 87, 162) in RGB.
No, #c157a2 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #c157a2, or check how it holds up for accessibility.