Hex Color #CF9F8A - Custom Color
Color Codes
HEX
#CF9F8A
RGB
rgb(207, 159, 138)
HSL
hsl(18, 42%, 68%)
CMYK
cmyk(0%, 23%, 33%, 19%)
HSV
hsv(18, 33%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.34:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.98: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: #CF9F8A;
color: #CF9F8A;
border-color: #CF9F8A;
}
Tailwind CSS (with arbitrary values)
bg-[#CF9F8A]
text-[#CF9F8A]
border-[#CF9F8A]
// Example usage:
<div className="bg-[#CF9F8A]">