#B5337D#B5337D

#B5337D is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.180 H 349.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B5337D
RGBrgb(181, 51, 125)
HSLhsl(326, 56%, 45%)
HSVhsv(326, 72%, 71%)
CMYKcmyk(0%, 71.8%, 30.9%, 29%)
CIE-LABlab(43.76, 58.18, -12.10)
CIE-LCHlch(43.76, 59.43, 348.25°)
OKLaboklab(53.9% 0.1775 -0.0316)
OKLCHoklch(53.9% 0.18 349.9)
XYZxyz(23.9428, 13.6748, 20.7767)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5337D #33B56B
analogous
#AC33B5 #B5337D #B5333C
triadic
#B5337D #7DB533 #337DB5
tetradic
#B5337D #B5AC33 #33B56B #333CB5
square
#B5337D #B5AC33 #33B56B #333CB5
split-complementary
#B5337D #3CB533 #33B5AC
monochromatic
#56183B #85265C #B5337D #CF569B #DD86B7

Accessibility & contrast

On white

5.62
#B5337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B5337D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5337D
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5337D#FFFFFF#000000##FFFFFF
##B5337D1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47597F
Deuteranopia (green-blind)
#6D707A
Tritanopia (blue-blind)
#C22C53
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5337d;
/* rgb */ color: rgb(181, 51, 125);
/* oklch */ color: oklch(53.9% 0.180 349.9);
Tailwind
colors: {
  custom: {
    50: '#cf76a2',
    500: '#b5337d',
    950: '#000000',
  },
}
SCSS
$custom: #b5337d;
$custom-light: #cf76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b5337d",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 325.846,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53902,
    "c": 0.18033,
    "h": 349.9
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#B5337D
secondary
#7DC69D
accent
#DF8948
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B5337D

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

Preview Lab → · Contrast checker → · Palette generator →

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