Color #d797c5
A moderately saturated light magenta.
Conversions
#d797c5
rgb(215, 151, 197)
hsl(316.9, 44.4%, 71.8%)
hsv(316.9, 29.8%, 84.3%)
cmyk(0%, 29.8%, 8.4%, 15.7%)
lab(69.9, 31.1, -14.07)
lch(69.9, 34.13, 335.66)
oklch(75.3%, 0.0971, 337.29)
hwb(316.9, 59.2%, 15.7%)
Harmony colors
Accessibility
Black text reads better on this background (9.12:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#bfbebb · ΔE 24.6
Deuteranopia
#c2c7b9 · ΔE 33.8
Tritanopia
#d4b3b1 · ΔE 16.5
Achromatopsia
#ababab · ΔE 22.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #d797c5;
bg-[#d797c5]
Related colors
Frequently asked questions
#d797c5 (#d797c5) is rgb(215, 151, 197) in RGB.
No, #d797c5 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 #d797c5, or check how it holds up for accessibility.