#B4548B#B4548B

#B4548B is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.2% C 0.140 H 346.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#B4548B
RGBrgb(180, 84, 139)
HSLhsl(326, 39%, 52%)
HSVhsv(326, 53%, 71%)
CMYKcmyk(0%, 53.3%, 22.8%, 29.4%)
CIE-LABlab(49.39, 45.43, -12.09)
CIE-LCHlch(49.39, 47.01, 345.09°)
OKLaboklab(58.19% 0.1363 -0.0318)
OKLCHoklch(58.19% 0.14 346.9)
XYZxyz(26.6537, 17.9103, 26.4743)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4548B #54B47D
analogous
#AD54B4 #B4548B #B4545B
triadic
#B4548B #8BB454 #548BB4
tetradic
#B4548B #B4AD54 #54B47D #545BB4
square
#B4548B #B4AD54 #54B47D #545BB4
split-complementary
#B4548B #5BB454 #54B4AD
monochromatic
#622B4B #8D3E6B #B4548B #C77FA8 #D9A9C5

Accessibility & contrast

On white

4.58
#B4548B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B4548B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B4548B
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4548B#FFFFFF#000000##000000
##B4548B1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8D
Deuteranopia (green-blind)
#777B89
Tritanopia (blue-blind)
#BF5269
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b4548b;
/* rgb */ color: rgb(180, 84, 139);
/* oklch */ color: oklch(58.2% 0.140 346.9);
Tailwind
colors: {
  custom: {
    50: '#cd88ad',
    500: '#b4548b',
    950: '#000000',
  },
}
SCSS
$custom: #b4548b;
$custom-light: #cd88ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4548b",
  "rgb": {
    "r": 180,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 325.625,
    "s": 39.024,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58194,
    "c": 0.13997,
    "h": 346.9
  },
  "luminance": 0.17908
}

Semantic roles & 50–950 ramp

primary
#B4548B
secondary
#9DC7AF
accent
#CF8B59
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#140C10
muted
#827D7F

Preview Lab

Preview with #B4548B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B4548B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva