#B54F85#B54F85

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

Color values

HEX#B54F85
RGBrgb(181, 79, 133)
HSLhsl(328, 41%, 51%)
HSVhsv(328, 56%, 71%)
CMYKcmyk(0%, 56.4%, 26.5%, 29%)
CIE-LABlab(48.40, 47.35, -9.97)
CIE-LCHlch(48.40, 48.39, 348.11°)
OKLaboklab(57.42% 0.1431 -0.026)
OKLCHoklch(57.42% 0.145 349.7)
XYZxyz(26.0866, 17.1116, 24.1147)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54F85 #4FB57F
analogous
#B24FB5 #B54F85 #B54F52
triadic
#B54F85 #85B54F #4F85B5
tetradic
#B54F85 #B5B24F #4FB57F #4F52B5
square
#B54F85 #B5B24F #4FB57F #4F52B5
split-complementary
#B54F85 #52B54F #4FB5B2
monochromatic
#612946 #8C3B66 #B54F85 #C77AA3 #D9A5C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54F85#FFFFFF#000000##FFFFFF
##B54F851.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)
#5B6887
Deuteranopia (green-blind)
#777A83
Tritanopia (blue-blind)
#C14B64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b54f85;
/* rgb */ color: rgb(181, 79, 133);
/* oklch */ color: oklch(57.4% 0.145 349.7);
Tailwind
colors: {
  custom: {
    50: '#ce85a8',
    500: '#b54f85',
    950: '#000000',
  },
}
SCSS
$custom: #b54f85;
$custom-light: #ce85a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b54f85",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 133
  },
  "hsl": {
    "h": 328.235,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5742,
    "c": 0.14539,
    "h": 349.7
  },
  "luminance": 0.17109
}

Semantic roles & 50–950 ramp

primary
#B54F85
secondary
#99C6AF
accent
#D19057
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #B54F85

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

Preview Lab → · Contrast checker → · Palette generator →

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