Hex Color #AFE6FA - Custom Color

Color Codes

HEX
#AFE6FA
RGB
rgb(175, 230, 250)
HSL
hsl(196, 88%, 83%)
CMYK
cmyk(30%, 8%, 0%, 2%)
HSV
hsv(196, 30%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Recommended Text Color

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

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

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

Tailwind CSS (with arbitrary values)

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