#B54088#B54088

#B54088 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.7% C 0.170 H 346.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B54088
RGBrgb(181, 64, 136)
HSLhsl(323, 48%, 48%)
HSVhsv(323, 65%, 71%)
CMYKcmyk(0%, 64.6%, 24.9%, 29%)
CIE-LABlab(46.00, 54.53, -15.41)
CIE-LCHlch(46.00, 56.66, 344.22°)
OKLaboklab(55.68% 0.1646 -0.0408)
OKLCHoklch(55.68% 0.17 346.1)
XYZxyz(25.3343, 15.2706, 24.9011)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54088 #40B56D
analogous
#A740B5 #B54088 #B5404D
triadic
#B54088 #88B540 #4088B5
tetradic
#B54088 #B5A740 #40B56D #404DB5
square
#B54088 #B5A740 #40B56D #404DB5
split-complementary
#B54088 #4DB540 #40B5A7
monochromatic
#5B2044 #883066 #B54088 #CA68A4 #DA96C0

Accessibility & contrast

On white

5.18
#B54088 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B54088 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54088
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54088#FFFFFF#000000##FFFFFF
##B540881.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D608A
Deuteranopia (green-blind)
#6F7485
Tritanopia (blue-blind)
#C13E5E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b54088;
/* rgb */ color: rgb(181, 64, 136);
/* oklch */ color: oklch(55.7% 0.170 346.1);
Tailwind
colors: {
  custom: {
    50: '#cf7caa',
    500: '#b54088',
    950: '#000000',
  },
}
SCSS
$custom: #b54088;
$custom-light: #cf7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#b54088",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 323.077,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55682,
    "c": 0.16958,
    "h": 346.1
  },
  "luminance": 0.15268
}

Semantic roles & 50–950 ramp

primary
#B54088
secondary
#8BC5A2
accent
#D78450
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B54088

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

Preview Lab → · Contrast checker → · Palette generator →

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