#B45199#B45199

#B45199 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.4% C 0.154 H 339.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B45199
RGBrgb(180, 81, 153)
HSLhsl(316, 40%, 51%)
HSVhsv(316, 55%, 71%)
CMYKcmyk(0%, 55%, 15%, 29.4%)
CIE-LABlab(49.36, 49.02, -20.46)
CIE-LCHlch(49.36, 53.12, 337.34°)
OKLaboklab(58.35% 0.1443 -0.055)
OKLCHoklch(58.35% 0.154 339.1)
XYZxyz(27.5150, 17.8902, 32.1348)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45199 #51B46C
analogous
#9D51B4 #B45199 #B45167
triadic
#B45199 #99B451 #5199B4
tetradic
#B45199 #B49D51 #51B46C #5167B4
square
#B45199 #B49D51 #51B46C #5167B4
split-complementary
#B45199 #67B451 #51B49D
monochromatic
#612A52 #8C3C76 #B45199 #C67CB2 #D9A7CB

Accessibility & contrast

On white

4.59
#B45199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B45199
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45199#FFFFFF#000000##FFFFFF
##B451991.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556C9B
Deuteranopia (green-blind)
#717B96
Tritanopia (blue-blind)
#BD546E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b45199;
/* rgb */ color: rgb(180, 81, 153);
/* oklch */ color: oklch(58.4% 0.154 339.1);
Tailwind
colors: {
  custom: {
    50: '#cd86b7',
    500: '#b45199',
    950: '#000000',
  },
}
SCSS
$custom: #b45199;
$custom-light: #cd86b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45199",
  "rgb": {
    "r": 180,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 316.364,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5835,
    "c": 0.15445,
    "h": 339.1
  },
  "luminance": 0.17888
}

Semantic roles & 50–950 ramp

primary
#B45199
secondary
#9BC6A6
accent
#D07958
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B45199

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

Preview Lab → · Contrast checker → · Palette generator →

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