#B5348C#B5348C

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

Color values

HEX#B5348C
RGBrgb(181, 52, 140)
HSLhsl(319, 55%, 46%)
HSVhsv(319, 71%, 71%)
CMYKcmyk(0%, 71.3%, 22.7%, 29%)
CIE-LABlab(44.48, 59.73, -20.15)
CIE-LCHlch(44.48, 63.04, 341.36°)
OKLaboklab(54.62% 0.1798 -0.0539)
OKLCHoklch(54.62% 0.188 343.3)
XYZxyz(25.0186, 14.1757, 26.2245)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5348C #34B55D
analogous
#9D34B5 #B5348C #B5344B
triadic
#B5348C #8CB534 #348CB5
tetradic
#B5348C #B59D34 #34B55D #344BB5
square
#B5348C #B59D34 #34B55D #344BB5
split-complementary
#B5348C #4BB534 #34B59D
monochromatic
#561942 #852667 #B5348C #CF57A9 #DC87C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5348C#FFFFFF#000000##FFFFFF
##B5348C1.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)
#415C8E
Deuteranopia (green-blind)
#687189
Tritanopia (blue-blind)
#C1345B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b5348c;
/* rgb */ color: rgb(181, 52, 140);
/* oklch */ color: oklch(54.6% 0.188 343.3);
Tailwind
colors: {
  custom: {
    50: '#cf77ad',
    500: '#b5348c',
    950: '#000000',
  },
}
SCSS
$custom: #b5348c;
$custom-light: #cf77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b5348c",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 319.07,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54622,
    "c": 0.18769,
    "h": 343.3
  },
  "luminance": 0.14173
}

Semantic roles & 50–950 ramp

primary
#B5348C
secondary
#7FC695
accent
#DF7949
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B5348C

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

Preview Lab → · Contrast checker → · Palette generator →

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