Hex Color #28172F - Custom Color
Color Codes
HEX
#28172F
RGB
rgb(40, 23, 47)
HSL
hsl(283, 34%, 14%)
CMYK
cmyk(15%, 51%, 0%, 82%)
HSV
hsv(283, 51%, 18%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 16.75:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.25: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: #28172F;
color: #28172F;
border-color: #28172F;
}
Tailwind CSS (with arbitrary values)
bg-[#28172F]
text-[#28172F]
border-[#28172F]
// Example usage:
<div className="bg-[#28172F]">