Hex Color #34152F - Custom Color

Color Codes

HEX
#34152F
RGB
rgb(52, 21, 47)
HSL
hsl(310, 42%, 14%)
CMYK
cmyk(0%, 60%, 10%, 80%)
HSV
hsv(310, 60%, 20%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 16.22:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 1.29: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: #34152F;
color: #34152F;
border-color: #34152F;
}

Tailwind CSS (with arbitrary values)

bg-[#34152F]
text-[#34152F]
border-[#34152F]
// Example usage:
<div className="bg-[#34152F]">