#B5347B#B5347B

#B5347B is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.178 H 351.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B5347B
RGBrgb(181, 52, 123)
HSLhsl(327, 55%, 46%)
HSVhsv(327, 71%, 71%)
CMYKcmyk(0%, 71.3%, 32%, 29%)
CIE-LABlab(43.82, 57.58, -10.79)
CIE-LCHlch(43.82, 58.58, 349.38°)
OKLaboklab(53.92% 0.1759 -0.028)
OKLCHoklch(53.92% 0.178 351)
XYZxyz(23.8605, 13.7125, 20.1253)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5347B #34B56E
analogous
#AE34B5 #B5347B #B5343A
triadic
#B5347B #7BB534 #347BB5
tetradic
#B5347B #B5AE34 #34B56E #343AB5
square
#B5347B #B5AE34 #34B56E #343AB5
split-complementary
#B5347B #3AB534 #34B5AE
monochromatic
#56193A #85265B #B5347B #CF5799 #DC87B6

Accessibility & contrast

On white

5.61
#B5347B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B5347B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5347B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5347B#FFFFFF#000000##FFFFFF
##B5347B1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597D
Deuteranopia (green-blind)
#6D7078
Tritanopia (blue-blind)
#C22C53
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b5347b;
/* rgb */ color: rgb(181, 52, 123);
/* oklch */ color: oklch(53.9% 0.178 351.0);
Tailwind
colors: {
  custom: {
    50: '#cf76a1',
    500: '#b5347b',
    950: '#000000',
  },
}
SCSS
$custom: #b5347b;
$custom-light: #cf76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b5347b",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 326.977,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53918,
    "c": 0.17811,
    "h": 351
  },
  "luminance": 0.1371
}

Semantic roles & 50–950 ramp

primary
#B5347B
secondary
#7FC69F
accent
#DF8C49
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B5347B

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

Preview Lab → · Contrast checker → · Palette generator →

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