#b31a5a hex color

Hex color #b31a5a graphic

mediumvioletred

#b31a5a RGB Percentages

Red
60.68%
Green
8.81%
Blue
30.51%

#b31a5a CMYK Percentages

Cyan
0%
Magenta
85%
Yellow
50%
Key (Black)
30%

Color #b31a5a Variations

Color #b31a5a Harmonies

Analogous Colors

Colors that are next to each other on the color wheel

Complementary Colors

Colors that are opposite each other on the color wheel

Split Complementary

A color and two colors adjacent to its complement

Triadic Colors

Three colors equally spaced on the color wheel

Contrast Checks for #b31a5a

On White Background

WCAG AA Pass (6.53)

Large Text Example

The quick brown fox jumps over the lazy dog.

Regular Text Example

This is an example of regular-sized text that would commonly appear in paragraphs and body content.

On Black Background

WCAG AA Fail (3.21)

Large Text Example

The quick brown fox jumps over the lazy dog.

Regular Text Example

This is an example of regular-sized text that would commonly appear in paragraphs and body content.

CSS Styles for #b31a5a

Nearest Tailwind Color for #b31a5a

Here's the nearest color to #b31a5a in Tailwind's full color palette.

Tailwind color name:

Hex color code:

Tailwind's pink-700 (#be185d)

Your color #b31a5a

CSS Code Examples for #b31a5a

Basic CSS Classes for #b31a5a

Background Color

Background Color Example

Text Color

This text shows the color #b31a5a

Border Color

Border Color Example

CSS3 Effects for #b31a5a

Text Shadow (RGB)

Text with RGB Shadow

Text Shadow (Hex)

Text with Hex Shadow

Box Shadow

Box with Shadow

HTML Examples for #b31a5a

Inline Styles

This is a sample text showing how this color looks when used as a text color.

Combined Effects

Combined Styles Example

#b31a5a Relaxed Palette