#B54166#B54166

#B54166 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.6% C 0.153 H 4.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B54166
RGBrgb(181, 65, 102)
HSLhsl(341, 47%, 48%)
HSVhsv(341, 64%, 71%)
CMYKcmyk(0%, 64.1%, 43.6%, 29%)
CIE-LABlab(45.03, 50.05, 3.93)
CIE-LCHlch(45.03, 50.21, 4.49°)
OKLaboklab(54.6% 0.1528 0.0107)
OKLCHoklch(54.6% 0.153 4)
XYZxyz(23.3463, 14.5664, 14.1500)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54166 #41B590
analogous
#B541A0 #B54166 #B55641
triadic
#B54166 #66B541 #4166B5
tetradic
#B54166 #A0B541 #41B590 #5641B5
square
#B54166 #A0B541 #41B590 #5641B5
split-complementary
#B54166 #41B556 #41A0B5
monochromatic
#5B2133 #88314D #B54166 #C96A88 #DA97AC

Accessibility & contrast

On white

5.37
#B54166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B54166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54166
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54166#FFFFFF#000000##FFFFFF
##B541661.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595C67
Deuteranopia (green-blind)
#777363
Tritanopia (blue-blind)
#C4334F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b54166;
/* rgb */ color: rgb(181, 65, 102);
/* oklch */ color: oklch(54.6% 0.153 4.0);
Tailwind
colors: {
  custom: {
    50: '#d07c91',
    500: '#b54166',
    950: '#000000',
  },
}
SCSS
$custom: #b54166;
$custom-light: #d07c91;
$custom-dark: #000000;
JSON
{
  "hex": "#b54166",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 340.862,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54597,
    "c": 0.15314,
    "h": 4
  },
  "luminance": 0.14564
}

Semantic roles & 50–950 ramp

primary
#B54166
secondary
#8CC5B3
accent
#D7AC51
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #B54166

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

Preview Lab → · Contrast checker → · Palette generator →

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