#B5348A#B5348A

#B5348A is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.186 H 344.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B5348A
RGBrgb(181, 52, 138)
HSLhsl(320, 55%, 46%)
HSVhsv(320, 71%, 71%)
CMYKcmyk(0%, 71.3%, 23.8%, 29%)
CIE-LABlab(44.40, 59.47, -19.07)
CIE-LCHlch(44.40, 62.45, 342.22°)
OKLaboklab(54.54% 0.1794 -0.0508)
OKLCHoklch(54.54% 0.186 344.2)
XYZxyz(24.8724, 14.1173, 25.4549)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5348A #34B55F
analogous
#9F34B5 #B5348A #B53449
triadic
#B5348A #8AB534 #348AB5
tetradic
#B5348A #B59F34 #34B55F #3449B5
square
#B5348A #B59F34 #34B55F #3449B5
split-complementary
#B5348A #49B534 #34B59F
monochromatic
#561942 #852666 #B5348A #CF57A7 #DC87C0

Accessibility & contrast

On white

5.49
#B5348A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B5348A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5348A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5348A#FFFFFF#000000##FFFFFF
##B5348A1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#697187
Tritanopia (blue-blind)
#C1335A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b5348a;
/* rgb */ color: rgb(181, 52, 138);
/* oklch */ color: oklch(54.5% 0.186 344.2);
Tailwind
colors: {
  custom: {
    50: '#cf77ac',
    500: '#b5348a',
    950: '#000000',
  },
}
SCSS
$custom: #b5348a;
$custom-light: #cf77ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b5348a",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 320,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.18646,
    "h": 344.2
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#B5348A
secondary
#7FC696
accent
#DF7B49
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B5348A

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

Preview Lab → · Contrast checker → · Palette generator →

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