#B5348F#B5348F

#B5348F is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.190 H 342.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B5348F
RGBrgb(181, 52, 143)
HSLhsl(318, 55%, 46%)
HSVhsv(318, 71%, 71%)
CMYKcmyk(0%, 71.3%, 21%, 29%)
CIE-LABlab(44.61, 60.14, -21.77)
CIE-LCHlch(44.61, 63.96, 340.10°)
OKLaboklab(54.76% 0.1803 -0.0584)
OKLCHoklch(54.76% 0.19 342.1)
XYZxyz(25.2428, 14.2654, 27.4054)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5348F #34B55A
analogous
#9A34B5 #B5348F #B5344F
triadic
#B5348F #8FB534 #348FB5
tetradic
#B5348F #B59A34 #34B55A #344FB5
square
#B5348F #B59A34 #34B55A #344FB5
split-complementary
#B5348F #4FB534 #34B59A
monochromatic
#561944 #852669 #B5348F #CF57AC #DC87C3

Accessibility & contrast

On white

5.45
#B5348F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B5348F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5348F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5348F#FFFFFF#000000##FFFFFF
##B5348F1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C92
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#C0365D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b5348f;
/* rgb */ color: rgb(181, 52, 143);
/* oklch */ color: oklch(54.8% 0.190 342.1);
Tailwind
colors: {
  custom: {
    50: '#cf77b0',
    500: '#b5348f',
    950: '#000000',
  },
}
SCSS
$custom: #b5348f;
$custom-light: #cf77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b5348f",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 317.674,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54757,
    "c": 0.18957,
    "h": 342.1
  },
  "luminance": 0.14263
}

Semantic roles & 50–950 ramp

primary
#B5348F
secondary
#7FC694
accent
#DF7549
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B5348F

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

Preview Lab → · Contrast checker → · Palette generator →

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