Hex Color #CE159C - Custom Color
Color Codes
HEX
#CE159C
RGB
rgb(206, 21, 156)
HSL
hsl(316, 81%, 45%)
CMYK
cmyk(0%, 90%, 24%, 19%)
HSV
hsv(316, 90%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.99:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.21: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: #CE159C;
color: #CE159C;
border-color: #CE159C;
}
Tailwind CSS (with arbitrary values)
bg-[#CE159C]
text-[#CE159C]
border-[#CE159C]
// Example usage:
<div className="bg-[#CE159C]">