Hex Color #12061A - Custom Color

Color Codes

HEX
#12061A
RGB
rgb(18, 6, 26)
HSL
hsl(276, 63%, 6%)
CMYK
cmyk(31%, 77%, 0%, 90%)
HSV
hsv(276, 77%, 10%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 1.07: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: #12061A;
color: #12061A;
border-color: #12061A;
}

Tailwind CSS (with arbitrary values)

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