#B5347E#B5347E

#B5347E is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.180 H 349.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B5347E
RGBrgb(181, 52, 126)
HSLhsl(326, 55%, 46%)
HSVhsv(326, 71%, 71%)
CMYKcmyk(0%, 71.3%, 30.4%, 29%)
CIE-LABlab(43.93, 57.94, -12.47)
CIE-LCHlch(43.93, 59.27, 347.86°)
OKLaboklab(54.04% 0.1767 -0.0326)
OKLCHoklch(54.04% 0.18 349.6)
XYZxyz(24.0512, 13.7888, 21.1295)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5347E #34B56B
analogous
#AB34B5 #B5347E #B5343E
triadic
#B5347E #7EB534 #347EB5
tetradic
#B5347E #B5AB34 #34B56B #343EB5
square
#B5347E #B5AB34 #34B56B #343EB5
split-complementary
#B5347E #3EB534 #34B5AB
monochromatic
#56193C #85265D #B5347E #CF579C #DC87B8

Accessibility & contrast

On white

5.59
#B5347E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B5347E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5347E
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5347E#FFFFFF#000000##FFFFFF
##B5347E1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475980
Deuteranopia (green-blind)
#6D707B
Tritanopia (blue-blind)
#C22D54
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b5347e;
/* rgb */ color: rgb(181, 52, 126);
/* oklch */ color: oklch(54.0% 0.180 349.6);
Tailwind
colors: {
  custom: {
    50: '#cf76a3',
    500: '#b5347e',
    950: '#000000',
  },
}
SCSS
$custom: #b5347e;
$custom-light: #cf76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b5347e",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 325.581,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.17965,
    "h": 349.6
  },
  "luminance": 0.13786
}

Semantic roles & 50–950 ramp

primary
#B5347E
secondary
#7FC69D
accent
#DF8949
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B5347E

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

Preview Lab → · Contrast checker → · Palette generator →

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