Hex Color #DD878A - Custom Color
Color Codes
HEX
#DD878A
RGB
rgb(221, 135, 138)
HSL
hsl(358, 56%, 70%)
CMYK
cmyk(0%, 39%, 38%, 13%)
HSV
hsv(358, 39%, 87%)
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: #DD878A;
color: #DD878A;
border-color: #DD878A;
}
Tailwind CSS (with arbitrary values)
bg-[#DD878A]
text-[#DD878A]
border-[#DD878A]
// Example usage:
<div className="bg-[#DD878A]">