#B54199#B54199

#B54199 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.5% C 0.179 H 338.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B54199
RGBrgb(181, 65, 153)
HSLhsl(314, 47%, 48%)
HSVhsv(314, 64%, 71%)
CMYKcmyk(0%, 64.1%, 15.5%, 29%)
CIE-LABlab(46.85, 56.54, -24.32)
CIE-LCHlch(46.85, 61.55, 336.72°)
OKLaboklab(56.53% 0.1669 -0.0657)
OKLCHoklch(56.53% 0.179 338.5)
XYZxyz(26.6966, 15.9066, 31.7951)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54199 #41B55D
analogous
#9741B5 #B54199 #B5415F
triadic
#B54199 #99B541 #4199B5
tetradic
#B54199 #B59741 #41B55D #415FB5
square
#B54199 #B59741 #41B55D #415FB5
split-complementary
#B54199 #5FB541 #41B597
monochromatic
#5B214D #883173 #B54199 #C96AB2 #DA97C9

Accessibility & contrast

On white

5.02
#B54199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B54199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54199
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54199#FFFFFF#000000##FFFFFF
##B541991.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46639C
Deuteranopia (green-blind)
#697696
Tritanopia (blue-blind)
#BF4567
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b54199;
/* rgb */ color: rgb(181, 65, 153);
/* oklch */ color: oklch(56.5% 0.179 338.5);
Tailwind
colors: {
  custom: {
    50: '#ce7db7',
    500: '#b54199',
    950: '#000000',
  },
}
SCSS
$custom: #b54199;
$custom-light: #ce7db7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54199",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 314.483,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56533,
    "c": 0.17937,
    "h": 338.5
  },
  "luminance": 0.15904
}

Semantic roles & 50–950 ramp

primary
#B54199
secondary
#8CC59A
accent
#D77151
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B54199

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

Preview Lab → · Contrast checker → · Palette generator →

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