Color #d797c3
A moderately saturated light magenta.
Conversions
#d797c3
rgb(215, 151, 195)
hsl(318.8, 44.4%, 71.8%)
hsv(318.8, 29.8%, 84.3%)
cmyk(0%, 29.8%, 9.3%, 15.7%)
lab(69.84, 30.76, -13.06)
lch(69.84, 33.42, 337)
oklch(75.2%, 0.0954, 338.68)
hwb(318.8, 59.2%, 15.7%)
Harmony colors
Accessibility
Black text reads better on this background (9.1:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#bfbeba · ΔE 25.2
Deuteranopia
#c2c7b7 · ΔE 34.5
Tritanopia
#d4b2b0 · ΔE 16
Achromatopsia
#ababab · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #d797c3;
bg-[#d797c3]
Related colors
Frequently asked questions
#d797c3 (#d797c3) is rgb(215, 151, 195) in RGB.
No, #d797c3 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 #d797c3, or check how it holds up for accessibility.