#B54898#B54898

#B54898 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.3% C 0.169 H 339.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B54898
RGBrgb(181, 72, 152)
HSLhsl(316, 43%, 50%)
HSVhsv(316, 60%, 71%)
CMYKcmyk(0%, 60.2%, 16%, 29%)
CIE-LABlab(47.92, 53.36, -22.08)
CIE-LCHlch(47.92, 57.74, 337.52°)
OKLaboklab(57.3% 0.1577 -0.0595)
OKLCHoklch(57.3% 0.169 339.3)
XYZxyz(27.0414, 16.7278, 31.5043)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54898 #48B565
analogous
#9B48B5 #B54898 #B54862
triadic
#B54898 #98B548 #4898B5
tetradic
#B54898 #B59B48 #48B565 #4862B5
square
#B54898 #B59B48 #48B565 #4862B5
split-complementary
#B54898 #62B548 #48B59B
monochromatic
#5D254E #893773 #B54898 #C773B1 #D99FC9

Accessibility & contrast

On white

4.83
#B54898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B54898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54898
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54898#FFFFFF#000000##FFFFFF
##B548981.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D679A
Deuteranopia (green-blind)
#6D7895
Tritanopia (blue-blind)
#BF4B69
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b54898;
/* rgb */ color: rgb(181, 72, 152);
/* oklch */ color: oklch(57.3% 0.169 339.3);
Tailwind
colors: {
  custom: {
    50: '#ce81b6',
    500: '#b54898',
    950: '#000000',
  },
}
SCSS
$custom: #b54898;
$custom-light: #ce81b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b54898",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 315.963,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.1685,
    "h": 339.3
  },
  "luminance": 0.16725
}

Semantic roles & 50–950 ramp

primary
#B54898
secondary
#93C5A1
accent
#D37655
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #B54898

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

Preview Lab → · Contrast checker → · Palette generator →

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