#B2437E CSS Color Code

#B2437E

Color Values & Formats

Using is just one of many ways to represent this color in CSS. Below are the various color codes you can use:

HEX
#b2437e
HEX Upper
#B2437E
RGB
rgb(178, 67, 126)
RGBA
rgba(178, 67, 126, 1)
HSL
hsl(328, 45%, 48%)
HSLA
hsla(328, 45%, 48%, 1)
HWB
hwb(328 26% 30%)
CIELAB
lab(45.62 51.02 -9.97)
CIELCH
lch(45.62 51.99 348.95)
OKLab
oklab(0.552 0.155 -0.026)
OKLCH
oklch(0.552 0.157 350.5)

UI Component Preview

See how this color behaves when used as text, background, or outline borders in a user interface.

On White Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

On Dark Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

Interactive Buttons
Border & Stroke
Border Example

Tints

Lighter variations generated by blending the color with white (#ffffff).

Shades

Darker variations generated by blending the color with black (#000000).

Complementary Color

The color directly opposite on the HSL color wheel (shifted 180°).