#B54E8A#B54E8A

#B54E8A is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.5% C 0.150 H 346.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B54E8A
RGBrgb(181, 78, 138)
HSLhsl(325, 41%, 51%)
HSVhsv(325, 57%, 71%)
CMYKcmyk(0%, 56.9%, 23.8%, 29%)
CIE-LABlab(48.40, 48.52, -12.97)
CIE-LCHlch(48.40, 50.23, 345.03°)
OKLaboklab(57.48% 0.146 -0.0342)
OKLCHoklch(57.48% 0.15 346.8)
XYZxyz(26.3687, 17.1099, 25.9536)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54E8A #4EB579
analogous
#AD4EB5 #B54E8A #B54E56
triadic
#B54E8A #8AB54E #4E8AB5
tetradic
#B54E8A #B5AD4E #4EB579 #4E56B5
square
#B54E8A #B5AD4E #4EB579 #4E56B5
split-complementary
#B54E8A #56B54E #4EB5AD
monochromatic
#602849 #8B3A6A #B54E8A #C779A7 #D9A4C3

Accessibility & contrast

On white

4.75
#B54E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B54E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54E8A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54E8A#FFFFFF#000000##FFFFFF
##B54E8A1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58688C
Deuteranopia (green-blind)
#757987
Tritanopia (blue-blind)
#C04C66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b54e8a;
/* rgb */ color: rgb(181, 78, 138);
/* oklch */ color: oklch(57.5% 0.150 346.8);
Tailwind
colors: {
  custom: {
    50: '#ce84ac',
    500: '#b54e8a',
    950: '#000000',
  },
}
SCSS
$custom: #b54e8a;
$custom-light: #ce84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b54e8a",
  "rgb": {
    "r": 181,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 325.049,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57477,
    "c": 0.1499,
    "h": 346.8
  },
  "luminance": 0.17108
}

Semantic roles & 50–950 ramp

primary
#B54E8A
secondary
#99C6AC
accent
#D18A57
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B54E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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