#B5349E#B5349E

#B5349E is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.5% C 0.200 H 336.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B5349E
RGBrgb(181, 52, 158)
HSLhsl(311, 55%, 46%)
HSVhsv(311, 71%, 71%)
CMYKcmyk(0%, 71.3%, 12.7%, 29%)
CIE-LABlab(45.29, 62.28, -29.74)
CIE-LCHlch(45.29, 69.01, 334.47°)
OKLaboklab(55.47% 0.1825 -0.081)
OKLCHoklch(55.47% 0.2 336.1)
XYZxyz(26.4560, 14.7507, 33.7949)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5349E #34B54B
analogous
#8B34B5 #B5349E #B5345D
triadic
#B5349E #9EB534 #349EB5
tetradic
#B5349E #B58B34 #34B54B #345DB5
square
#B5349E #B58B34 #34B54B #345DB5
split-complementary
#B5349E #5DB534 #34B58B
monochromatic
#56194B #852674 #B5349E #CF57BA #DC87CD

Accessibility & contrast

On white

5.32
#B5349E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B5349E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5349E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5349E#FFFFFF#000000##FFFFFF
##B5349E1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#62729B
Tritanopia (blue-blind)
#BE3D65
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b5349e;
/* rgb */ color: rgb(181, 52, 158);
/* oklch */ color: oklch(55.5% 0.200 336.1);
Tailwind
colors: {
  custom: {
    50: '#cf77bb',
    500: '#b5349e',
    950: '#000000',
  },
}
SCSS
$custom: #b5349e;
$custom-light: #cf77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b5349e",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 310.698,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55471,
    "c": 0.19967,
    "h": 336.1
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#B5349E
secondary
#7FC68B
accent
#DF6449
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B5349E

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

Preview Lab → · Contrast checker → · Palette generator →

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