#D97CB2 CSS Color Code

#D97CB2

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
#d97cb2
HEX Upper
#D97CB2
RGB
rgb(217, 124, 178)
RGBA
rgba(217, 124, 178, 1)
HSL
hsl(325, 55%, 67%)
HSLA
hsla(325, 55%, 67%, 1)
HWB
hwb(325 49% 15%)
CIELAB
lab(63.66 43.02 -12.78)
CIELCH
lch(63.66 44.88 343.45)
OKLab
oklab(0.704 0.128 -0.034)
OKLCH
oklch(0.704 0.132 345.19)

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°).