#B54F8D#B54F8D

#B54F8D is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.7% C 0.150 H 345.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B54F8D
RGBrgb(181, 79, 141)
HSLhsl(324, 41%, 51%)
HSVhsv(324, 56%, 71%)
CMYKcmyk(0%, 56.4%, 22.1%, 29%)
CIE-LABlab(48.69, 48.48, -14.33)
CIE-LCHlch(48.69, 50.55, 343.53°)
OKLaboklab(57.73% 0.1453 -0.0379)
OKLCHoklch(57.73% 0.15 345.4)
XYZxyz(26.6605, 17.3411, 27.1372)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54F8D #4FB577
analogous
#AA4FB5 #B54F8D #B54F5A
triadic
#B54F8D #8DB54F #4F8DB5
tetradic
#B54F8D #B5AA4F #4FB577 #4F5AB5
square
#B54F8D #B5AA4F #4FB577 #4F5AB5
split-complementary
#B54F8D #5AB54F #4FB5AA
monochromatic
#61294B #8C3B6C #B54F8D #C77AA9 #D9A5C5

Accessibility & contrast

On white

4.70
#B54F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B54F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54F8D
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54F8D#FFFFFF#000000##FFFFFF
##B54F8D1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58698F
Deuteranopia (green-blind)
#757A8A
Tritanopia (blue-blind)
#C04E68
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b54f8d;
/* rgb */ color: rgb(181, 79, 141);
/* oklch */ color: oklch(57.7% 0.150 345.4);
Tailwind
colors: {
  custom: {
    50: '#ce85ae',
    500: '#b54f8d',
    950: '#000000',
  },
}
SCSS
$custom: #b54f8d;
$custom-light: #ce85ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b54f8d",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 323.529,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57727,
    "c": 0.15019,
    "h": 345.4
  },
  "luminance": 0.17339
}

Semantic roles & 50–950 ramp

primary
#B54F8D
secondary
#99C6AB
accent
#D18757
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B54F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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