#B5348E#B5348E

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

Color values

HEX#B5348E
RGBrgb(181, 52, 142)
HSLhsl(318, 55%, 46%)
HSVhsv(318, 71%, 71%)
CMYKcmyk(0%, 71.3%, 21.5%, 29%)
CIE-LABlab(44.57, 60.00, -21.23)
CIE-LCHlch(44.57, 63.65, 340.51°)
OKLaboklab(54.71% 0.1802 -0.0569)
OKLCHoklch(54.71% 0.189 342.5)
XYZxyz(25.1674, 14.2353, 27.0082)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5348E #34B55B
analogous
#9C34B5 #B5348E #B5344D
triadic
#B5348E #8EB534 #348EB5
tetradic
#B5348E #B59C34 #34B55B #344DB5
square
#B5348E #B59C34 #34B55B #344DB5
split-complementary
#B5348E #4DB534 #34B59C
monochromatic
#561943 #852669 #B5348E #CF57AB #DC87C3

Accessibility & contrast

On white

5.46
#B5348E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5348E
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5348E#FFFFFF#000000##FFFFFF
##B5348E1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5348e;
/* rgb */ color: rgb(181, 52, 142);
/* oklch */ color: oklch(54.7% 0.189 342.5);
Tailwind
colors: {
  custom: {
    50: '#cf77af',
    500: '#b5348e',
    950: '#000000',
  },
}
SCSS
$custom: #b5348e;
$custom-light: #cf77af;
$custom-dark: #000000;
JSON
{
  "hex": "#b5348e",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 318.14,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.18893,
    "h": 342.5
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5348E

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

Preview Lab → · Contrast checker → · Palette generator →

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