#B54897#B54897

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

Color values

HEX#B54897
RGBrgb(181, 72, 151)
HSLhsl(317, 43%, 50%)
HSVhsv(317, 60%, 71%)
CMYKcmyk(0%, 60.2%, 16.6%, 29%)
CIE-LABlab(47.87, 53.20, -21.55)
CIE-LCHlch(47.87, 57.40, 337.95°)
OKLaboklab(57.25% 0.1575 -0.058)
OKLCHoklch(57.25% 0.168 339.8)
XYZxyz(26.9599, 16.6951, 31.0747)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54897 #48B566
analogous
#9D48B5 #B54897 #B54860
triadic
#B54897 #97B548 #4897B5
tetradic
#B54897 #B59D48 #48B566 #4860B5
square
#B54897 #B59D48 #48B566 #4860B5
split-complementary
#B54897 #60B548 #48B59D
monochromatic
#5D254E #893772 #B54897 #C773B0 #D99FC9

Accessibility & contrast

On white

4.84
#B54897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B54897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54897
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54897#FFFFFF#000000##FFFFFF
##B548971.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b54897;
/* rgb */ color: rgb(181, 72, 151);
/* oklch */ color: oklch(57.3% 0.168 339.8);
Tailwind
colors: {
  custom: {
    50: '#ce81b5',
    500: '#b54897',
    950: '#000000',
  },
}
SCSS
$custom: #b54897;
$custom-light: #ce81b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54897",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 316.514,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57254,
    "c": 0.16779,
    "h": 339.8
  },
  "luminance": 0.16693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54897

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

Preview Lab → · Contrast checker → · Palette generator →

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