#B5348B#B5348B

#B5348B is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.6% C 0.187 H 343.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B5348B
RGBrgb(181, 52, 139)
HSLhsl(320, 55%, 46%)
HSVhsv(320, 71%, 71%)
CMYKcmyk(0%, 71.3%, 23.2%, 29%)
CIE-LABlab(44.44, 59.60, -19.61)
CIE-LCHlch(44.44, 62.74, 341.79°)
OKLaboklab(54.58% 0.1796 -0.0523)
OKLCHoklch(54.58% 0.187 343.7)
XYZxyz(24.9452, 14.1464, 25.8379)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5348B #34B55E
analogous
#9E34B5 #B5348B #B5344A
triadic
#B5348B #8BB534 #348BB5
tetradic
#B5348B #B59E34 #34B55E #344AB5
square
#B5348B #B59E34 #34B55E #344AB5
split-complementary
#B5348B #4AB534 #34B59E
monochromatic
#561942 #852666 #B5348B #CF57A8 #DC87C1

Accessibility & contrast

On white

5.48
#B5348B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B5348B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5348B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5348B#FFFFFF#000000##FFFFFF
##B5348B1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8D
Deuteranopia (green-blind)
#697188
Tritanopia (blue-blind)
#C1345B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b5348b;
/* rgb */ color: rgb(181, 52, 139);
/* oklch */ color: oklch(54.6% 0.187 343.7);
Tailwind
colors: {
  custom: {
    50: '#cf77ad',
    500: '#b5348b',
    950: '#000000',
  },
}
SCSS
$custom: #b5348b;
$custom-light: #cf77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b5348b",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 319.535,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54578,
    "c": 0.18707,
    "h": 343.7
  },
  "luminance": 0.14144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5348B

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

Preview Lab → · Contrast checker → · Palette generator →

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