Hex Color #665159 - Custom Color

Color Codes

HEX
#665159
RGB
rgb(102, 81, 89)
HSL
hsl(337, 11%, 36%)
CMYK
cmyk(0%, 21%, 13%, 60%)
HSV
hsv(337, 21%, 40%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 2.89:1
Fail - WCAG AA (Normal Text)
Fail - 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: #665159;
color: #665159;
border-color: #665159;
}

Tailwind CSS (with arbitrary values)

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