Color #f04066
A vivid, highly saturated medium red.
Conversions
#f04066
rgb(240, 64, 102)
hsl(347, 85.4%, 59.6%)
hsv(347, 73.3%, 94.1%)
cmyk(0%, 73.3%, 57.5%, 5.9%)
lab(55.23, 68.18, 19.7)
lch(55.23, 70.97, 16.12)
oklch(64.1%, 0.2111, 13.36)
hwb(347, 25.1%, 5.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.63:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#bebd5e · ΔE 56.1
Deuteranopia
#c6cf5d · ΔE 61.8
Tritanopia
#eb5856 · ΔE 8.4
Achromatopsia
#848484 · ΔE 27.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #f04066;
bg-[#f04066]
Related colors
Frequently asked questions
#f04066 (#f04066) is rgb(240, 64, 102) in RGB.
No, #f04066 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 #f04066, or check how it holds up for accessibility.