#B5348D#B5348D

#B5348D is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.188 H 342.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B5348D
RGBrgb(181, 52, 141)
HSLhsl(319, 55%, 46%)
HSVhsv(319, 71%, 71%)
CMYKcmyk(0%, 71.3%, 22.1%, 29%)
CIE-LABlab(44.53, 59.87, -20.69)
CIE-LCHlch(44.53, 63.34, 340.93°)
OKLaboklab(54.67% 0.18 -0.0554)
OKLCHoklch(54.67% 0.188 342.9)
XYZxyz(25.0926, 14.2054, 26.6146)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5348D #34B55C
analogous
#9C34B5 #B5348D #B5344C
triadic
#B5348D #8DB534 #348DB5
tetradic
#B5348D #B59C34 #34B55C #344CB5
square
#B5348D #B59C34 #34B55C #344CB5
split-complementary
#B5348D #4CB534 #34B59C
monochromatic
#561943 #852668 #B5348D #CF57AA #DC87C2

Accessibility & contrast

On white

5.47
#B5348D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B5348D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5348D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5348D#FFFFFF#000000##FFFFFF
##B5348D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C8F
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#C0355C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b5348d;
/* rgb */ color: rgb(181, 52, 141);
/* oklch */ color: oklch(54.7% 0.188 342.9);
Tailwind
colors: {
  custom: {
    50: '#cf77ae',
    500: '#b5348d',
    950: '#000000',
  },
}
SCSS
$custom: #b5348d;
$custom-light: #cf77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b5348d",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 318.605,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54667,
    "c": 0.18831,
    "h": 342.9
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#B5348D
secondary
#7FC695
accent
#DF7749
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B5348D

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

Preview Lab → · Contrast checker → · Palette generator →

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