Hex Color #FA51EB - Custom Color

Color Codes

HEX
#FA51EB
RGB
rgb(250, 81, 235)
HSL
hsl(305, 94%, 65%)
CMYK
cmyk(0%, 68%, 6%, 2%)
HSV
hsv(305, 68%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.82:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 7.44:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #FA51EB;
color: #FA51EB;
border-color: #FA51EB;
}

Tailwind CSS (with arbitrary values)

bg-[#FA51EB]
text-[#FA51EB]
border-[#FA51EB]
// Example usage:
<div className="bg-[#FA51EB]">