Hex Color #C30087 - Custom Color

Color Codes

HEX
#C30087
RGB
rgb(195, 0, 135)
HSL
hsl(318, 100%, 38%)
CMYK
cmyk(0%, 100%, 31%, 24%)
HSV
hsv(318, 100%, 76%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.67: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: #C30087;
color: #C30087;
border-color: #C30087;
}

Tailwind CSS (with arbitrary values)

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