Hex Color #C7838A - Custom Color
Color Codes
HEX
#C7838A
RGB
rgb(199, 131, 138)
HSL
hsl(354, 38%, 65%)
CMYK
cmyk(0%, 34%, 31%, 22%)
HSV
hsv(354, 34%, 78%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.98:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.04: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: #C7838A;
color: #C7838A;
border-color: #C7838A;
}
Tailwind CSS (with arbitrary values)
bg-[#C7838A]
text-[#C7838A]
border-[#C7838A]
// Example usage:
<div className="bg-[#C7838A]">