Hex Color #301719 - Custom Color
Color Codes
HEX
#301719
RGB
rgb(48, 23, 25)
HSL
hsl(355, 35%, 14%)
CMYK
cmyk(0%, 52%, 48%, 81%)
HSV
hsv(355, 52%, 19%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 16.64:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.26: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: #301719;
color: #301719;
border-color: #301719;
}
Tailwind CSS (with arbitrary values)
bg-[#301719]
text-[#301719]
border-[#301719]
// Example usage:
<div className="bg-[#301719]">