#B5238C

Color Details

HEX
#B5238C
RGB
rgb(181, 35, 140)
HSL
hsl(317, 68%, 42%)
CMYK
cmyk(0%, 81%, 23%, 29%)
Best text on this color #FFFFFF (CR 5.86:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #B5238C swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #B5238C

#B5238C converts to RGB(181, 35, 140) and HSL(317, 68%, 42%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#B5238C FAQs

What is the RGB value of #B5238C?
RGB: 181, 35, 140. Copy as CSS: rgb(181, 35, 140)
Is #B5238C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #B5238C?
Complement: #22b44c.
Does #B5238C have good contrast on white or black?
On white: 5.86:1 (AA (normal text)). On black: 3.58:1 (AA (large text)).