#B5337B#B5337B

#B5337B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.179 H 350.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B5337B
RGBrgb(181, 51, 123)
HSLhsl(327, 56%, 45%)
HSVhsv(327, 72%, 71%)
CMYKcmyk(0%, 71.8%, 32%, 29%)
CIE-LABlab(43.69, 57.94, -10.99)
CIE-LCHlch(43.69, 58.97, 349.26°)
OKLaboklab(53.82% 0.177 -0.0285)
OKLCHoklch(53.82% 0.179 350.8)
XYZxyz(23.8163, 13.6242, 20.1106)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5337B #33B56D
analogous
#AE33B5 #B5337B #B5333A
triadic
#B5337B #7BB533 #337BB5
tetradic
#B5337B #B5AE33 #33B56D #333AB5
square
#B5337B #B5AE33 #33B56D #333AB5
split-complementary
#B5337B #3AB533 #33B5AE
monochromatic
#56183A #85265B #B5337B #CF5699 #DD86B6

Accessibility & contrast

On white

5.64
#B5337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B5337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5337B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5337B#FFFFFF#000000##FFFFFF
##B5337B1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587D
Deuteranopia (green-blind)
#6D7078
Tritanopia (blue-blind)
#C22B52
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5337b;
/* rgb */ color: rgb(181, 51, 123);
/* oklch */ color: oklch(53.8% 0.179 350.8);
Tailwind
colors: {
  custom: {
    50: '#cf76a1',
    500: '#b5337b',
    950: '#000000',
  },
}
SCSS
$custom: #b5337b;
$custom-light: #cf76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b5337b",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 326.769,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53823,
    "c": 0.17931,
    "h": 350.8
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#B5337B
secondary
#7DC69E
accent
#DF8C48
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B5337B

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

Preview Lab → · Contrast checker → · Palette generator →

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