#B5336B#B5336B

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

Color values

HEX#B5336B
RGBrgb(181, 51, 107)
HSLhsl(334, 56%, 45%)
HSVhsv(334, 72%, 71%)
CMYKcmyk(0%, 71.8%, 40.9%, 29%)
CIE-LABlab(43.15, 56.16, -1.91)
CIE-LCHlch(43.15, 56.20, 358.05°)
OKLaboklab(53.25% 0.1723 -0.0043)
OKLCHoklch(53.25% 0.172 358.6)
XYZxyz(22.8953, 13.2558, 15.2600)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5336B #33B57D
analogous
#B533AC #B5336B #B53C33
triadic
#B5336B #6BB533 #336BB5
tetradic
#B5336B #ACB533 #33B57D #3C33B5
square
#B5336B #ACB533 #33B57D #3C33B5
split-complementary
#B5336B #33B53C #33ACB5
monochromatic
#561833 #85264F #B5336B #CF568A #DD86AB

Accessibility & contrast

On white

5.75
#B5336B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5336B
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5336B#FFFFFF#000000##FFFFFF
##B5336B1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566C
Deuteranopia (green-blind)
#716F68
Tritanopia (blue-blind)
#C4224B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b5336b;
/* rgb */ color: rgb(181, 51, 107);
/* oklch */ color: oklch(53.2% 0.172 358.6);
Tailwind
colors: {
  custom: {
    50: '#d07595',
    500: '#b5336b',
    950: '#000000',
  },
}
SCSS
$custom: #b5336b;
$custom-light: #d07595;
$custom-dark: #000000;
JSON
{
  "hex": "#b5336b",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 334.154,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53247,
    "c": 0.17232,
    "h": 358.6
  },
  "luminance": 0.13253
}

Semantic roles & 50–950 ramp

primary
#B5336B
secondary
#7DC6A7
accent
#DF9E48
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B5336B

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

Preview Lab → · Contrast checker → · Palette generator →

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