#B54397#B54397

#B54397 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.7% C 0.175 H 339.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B54397
RGBrgb(181, 67, 151)
HSLhsl(316, 46%, 49%)
HSVhsv(316, 63%, 71%)
CMYKcmyk(0%, 63%, 16.6%, 29%)
CIE-LABlab(47.07, 55.39, -22.79)
CIE-LCHlch(47.07, 59.90, 337.64°)
OKLaboklab(56.67% 0.164 -0.0614)
OKLCHoklch(56.67% 0.175 339.5)
XYZxyz(26.6497, 16.0748, 30.9713)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54397 #43B561
analogous
#9A43B5 #B54397 #B5435E
triadic
#B54397 #97B543 #4397B5
tetradic
#B54397 #B59A43 #43B561 #435EB5
square
#B54397 #B59A43 #43B561 #435EB5
split-complementary
#B54397 #5EB543 #43B59A
monochromatic
#5C224C #883272 #B54397 #C96CB0 #D999C8

Accessibility & contrast

On white

4.98
#B54397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B54397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54397
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54397#FFFFFF#000000##FFFFFF
##B543971.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49649A
Deuteranopia (green-blind)
#6B7694
Tritanopia (blue-blind)
#BF4667
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b54397;
/* rgb */ color: rgb(181, 67, 151);
/* oklch */ color: oklch(56.7% 0.175 339.5);
Tailwind
colors: {
  custom: {
    50: '#ce7eb5',
    500: '#b54397',
    950: '#000000',
  },
}
SCSS
$custom: #b54397;
$custom-light: #ce7eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54397",
  "rgb": {
    "r": 181,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 315.789,
    "s": 45.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56666,
    "c": 0.17513,
    "h": 339.5
  },
  "luminance": 0.16072
}

Semantic roles & 50–950 ramp

primary
#B54397
secondary
#8FC59D
accent
#D67552
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B54397

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

Preview Lab → · Contrast checker → · Palette generator →

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