#B5336A#B5336A

#B5336A is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.172 H 359.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B5336A
RGBrgb(181, 51, 106)
HSLhsl(335, 56%, 45%)
HSVhsv(335, 72%, 71%)
CMYKcmyk(0%, 71.8%, 41.4%, 29%)
CIE-LABlab(43.12, 56.06, -1.34)
CIE-LCHlch(43.12, 56.08, 358.64°)
OKLaboklab(53.21% 0.1719 -0.0028)
OKLCHoklch(53.21% 0.172 359.1)
XYZxyz(22.8430, 13.2349, 14.9845)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5336A #33B57E
analogous
#B533AB #B5336A #B53D33
triadic
#B5336A #6AB533 #336AB5
tetradic
#B5336A #ABB533 #33B57E #3D33B5
square
#B5336A #ABB533 #33B57E #3D33B5
split-complementary
#B5336A #33B53D #33ABB5
monochromatic
#561832 #85264E #B5336A #CF5689 #DD86AA

Accessibility & contrast

On white

5.76
#B5336A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B5336A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5336A
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5336A#FFFFFF#000000##FFFFFF
##B5336A1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E566B
Deuteranopia (green-blind)
#716F67
Tritanopia (blue-blind)
#C4224A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b5336a;
/* rgb */ color: rgb(181, 51, 106);
/* oklch */ color: oklch(53.2% 0.172 359.1);
Tailwind
colors: {
  custom: {
    50: '#d07594',
    500: '#b5336a',
    950: '#000000',
  },
}
SCSS
$custom: #b5336a;
$custom-light: #d07594;
$custom-dark: #000000;
JSON
{
  "hex": "#b5336a",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 334.615,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53214,
    "c": 0.17196,
    "h": 359.1
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#B5336A
secondary
#7DC6A8
accent
#DFA048
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5336A

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

Preview Lab → · Contrast checker → · Palette generator →

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