Color #7f2b1a
A moderately saturated dark red.
Conversions
#7f2b1a
rgb(127, 43, 26)
hsl(10.1, 66%, 30%)
hsv(10.1, 79.5%, 49.8%)
cmyk(0%, 66.1%, 79.5%, 50.2%)
lab(30.2, 35.37, 29.86)
lch(30.2, 46.29, 40.17)
oklch(41.2%, 0.12, 33.31)
hwb(10.1, 10.2%, 50.2%)
Harmony colors
Accessibility
White text reads better on this background (9.28:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#65651f · ΔE 34.5
Deuteranopia
#696e20 · ΔE 37.7
Tritanopia
#7c2223 · ΔE 5.7
Achromatopsia
#474747 · ΔE 23.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f2b1a;
bg-[#7f2b1a]
Related colors
Frequently asked questions
#7f2b1a (#7f2b1a) is rgb(127, 43, 26) in RGB.
No, #7f2b1a 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 #7f2b1a, or check how it holds up for accessibility.