Hex Color #D70260 - Custom Color

Color Codes

HEX
#D70260
RGB
rgb(215, 2, 96)
HSL
hsl(334, 98%, 43%)
CMYK
cmyk(0%, 99%, 55%, 16%)
HSV
hsv(334, 99%, 84%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.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: #D70260;
color: #D70260;
border-color: #D70260;
}

Tailwind CSS (with arbitrary values)

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