Hex Color #F275AB - Custom Color

Color Codes

HEX
#F275AB
RGB
rgb(242, 117, 171)
HSL
hsl(334, 83%, 70%)
CMYK
cmyk(0%, 52%, 29%, 5%)
HSV
hsv(334, 52%, 95%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 7.91: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: #F275AB;
color: #F275AB;
border-color: #F275AB;
}

Tailwind CSS (with arbitrary values)

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