Hex Color #C148BA - Custom Color

Color Codes

HEX
#C148BA
RGB
rgb(193, 72, 186)
HSL
hsl(303, 49%, 52%)
CMYK
cmyk(0%, 63%, 4%, 24%)
HSV
hsv(303, 63%, 76%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 4.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 4.90:1
Pass - 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: #C148BA;
color: #C148BA;
border-color: #C148BA;
}

Tailwind CSS (with arbitrary values)

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